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
|
|
128
|
use strict; |
|
21
|
|
|
|
|
43
|
|
|
21
|
|
|
|
|
576
|
|
12
|
21
|
|
|
21
|
|
98
|
use warnings; |
|
21
|
|
|
|
|
66
|
|
|
21
|
|
|
|
|
459
|
|
13
|
|
|
|
|
|
|
|
14
|
21
|
|
|
21
|
|
7852
|
use Module::Load (); |
|
21
|
|
|
|
|
18638
|
|
|
21
|
|
|
|
|
1577
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub create { |
17
|
1497
|
|
|
1497
|
0
|
4240
|
my ( $type, @args ) = @_; |
18
|
|
|
|
|
|
|
|
19
|
1497
|
|
|
|
|
3183
|
my $x_package = "Crypt::Perl::X::$type"; |
20
|
|
|
|
|
|
|
|
21
|
1497
|
|
|
|
|
4671
|
Module::Load::load($x_package); |
22
|
|
|
|
|
|
|
|
23
|
1497
|
|
|
|
|
124552
|
return $x_package->new(@args); |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |