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
|
|
113
|
use strict; |
|
21
|
|
|
|
|
39
|
|
|
21
|
|
|
|
|
519
|
|
12
|
21
|
|
|
21
|
|
88
|
use warnings; |
|
21
|
|
|
|
|
56
|
|
|
21
|
|
|
|
|
500
|
|
13
|
|
|
|
|
|
|
|
14
|
21
|
|
|
21
|
|
7326
|
use Module::Load (); |
|
21
|
|
|
|
|
16632
|
|
|
21
|
|
|
|
|
1352
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub create { |
17
|
1232
|
|
|
1232
|
0
|
3939
|
my ( $type, @args ) = @_; |
18
|
|
|
|
|
|
|
|
19
|
1232
|
|
|
|
|
2899
|
my $x_package = "Crypt::Perl::X::$type"; |
20
|
|
|
|
|
|
|
|
21
|
1232
|
|
|
|
|
4143
|
Module::Load::load($x_package); |
22
|
|
|
|
|
|
|
|
23
|
1232
|
|
|
|
|
118017
|
return $x_package->new(@args); |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |