line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Crypt::Perl::X; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=encoding utf-8 |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=head1 NAME |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
Crypt::Perl::X - Exception objects for Crypt::Perl |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=cut |
10
|
|
|
|
|
|
|
|
11
|
21
|
|
|
21
|
|
115
|
use strict; |
|
21
|
|
|
|
|
38
|
|
|
21
|
|
|
|
|
497
|
|
12
|
21
|
|
|
21
|
|
89
|
use warnings; |
|
21
|
|
|
|
|
50
|
|
|
21
|
|
|
|
|
490
|
|
13
|
|
|
|
|
|
|
|
14
|
21
|
|
|
21
|
|
7328
|
use Module::Load (); |
|
21
|
|
|
|
|
16329
|
|
|
21
|
|
|
|
|
1280
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub create { |
17
|
1232
|
|
|
1232
|
0
|
3880
|
my ( $type, @args ) = @_; |
18
|
|
|
|
|
|
|
|
19
|
1232
|
|
|
|
|
3294
|
my $x_package = "Crypt::Perl::X::$type"; |
20
|
|
|
|
|
|
|
|
21
|
1232
|
|
|
|
|
3960
|
Module::Load::load($x_package); |
22
|
|
|
|
|
|
|
|
23
|
1232
|
|
|
|
|
114193
|
return $x_package->new(@args); |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |