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
|
|
146
|
use strict; |
|
21
|
|
|
|
|
46
|
|
|
21
|
|
|
|
|
680
|
|
12
|
21
|
|
|
21
|
|
103
|
use warnings; |
|
21
|
|
|
|
|
61
|
|
|
21
|
|
|
|
|
499
|
|
13
|
|
|
|
|
|
|
|
14
|
21
|
|
|
21
|
|
8449
|
use Module::Load (); |
|
21
|
|
|
|
|
19661
|
|
|
21
|
|
|
|
|
1545
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub create { |
17
|
1497
|
|
|
1497
|
0
|
4192
|
my ( $type, @args ) = @_; |
18
|
|
|
|
|
|
|
|
19
|
1497
|
|
|
|
|
3080
|
my $x_package = "Crypt::Perl::X::$type"; |
20
|
|
|
|
|
|
|
|
21
|
1497
|
|
|
|
|
4601
|
Module::Load::load($x_package); |
22
|
|
|
|
|
|
|
|
23
|
1497
|
|
|
|
|
124072
|
return $x_package->new(@args); |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |