line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package exact::fun; |
2
|
|
|
|
|
|
|
# ABSTRACT: Functions and methods with parameter lists for exact |
3
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
271130
|
use 5.014; |
|
1
|
|
|
|
|
10
|
|
5
|
1
|
|
|
1
|
|
5
|
use exact; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
9
|
|
6
|
1
|
|
|
1
|
|
1291
|
use Function::Parameters (); |
|
1
|
|
|
|
|
4175
|
|
|
1
|
|
|
|
|
25
|
|
7
|
1
|
|
|
1
|
|
483
|
use Class::Method::Modifiers (); |
|
1
|
|
|
|
|
1591
|
|
|
1
|
|
|
|
|
225
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $VERSION = '1.00'; # VERSION |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub import { |
12
|
1
|
|
|
1
|
|
12
|
my ( $self, $caller, $input ) = @_; |
13
|
|
|
|
|
|
|
|
14
|
1
|
50
|
33
|
|
|
9
|
Function::Parameters->import( ( $input and $input =~ /^mod/i ) ? ( qw( :std :modifiers ) ) : ':std' ); |
15
|
|
|
|
|
|
|
|
16
|
1
|
50
|
33
|
|
|
417
|
if ( $input and $input =~ /^cmm/i ) { |
17
|
0
|
|
0
|
|
|
|
$caller //= caller(); |
18
|
0
|
|
|
|
|
|
eval qq{ |
19
|
|
|
|
|
|
|
package $caller { |
20
|
|
|
|
|
|
|
use Class::Method::Modifiers; |
21
|
|
|
|
|
|
|
}; |
22
|
|
|
|
|
|
|
}; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__END__ |