line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Script::Toolbox; |
2
|
|
|
|
|
|
|
|
3
|
10
|
|
|
10
|
|
694559
|
use 5.006; |
|
10
|
|
|
|
|
118
|
|
4
|
10
|
|
|
10
|
|
103
|
use strict; |
|
10
|
|
|
|
|
20
|
|
|
10
|
|
|
|
|
279
|
|
5
|
10
|
|
|
10
|
|
52
|
use warnings; |
|
10
|
|
|
|
|
25
|
|
|
10
|
|
|
|
|
358
|
|
6
|
10
|
|
|
10
|
|
5818
|
use Script::Toolbox::Util qw(:all); |
|
10
|
|
|
|
|
35
|
|
|
10
|
|
|
|
|
3254
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
require Exporter; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
our @ISA = qw(Script::Toolbox::Util Script::Toolbox::Util::Opt Exporter); |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
# Items to export into callers namespace by default. Note: do not export |
13
|
|
|
|
|
|
|
# names by default without a very good reason. Use EXPORT_OK instead. |
14
|
|
|
|
|
|
|
# Do not simply export all your public functions/methods/constants. |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
# This allows declaration use Script::Toolbox ':all'; |
17
|
|
|
|
|
|
|
# If you do not need this, moving things directly into @EXPORT or @EXPORT_OK |
18
|
|
|
|
|
|
|
# will save memory. |
19
|
|
|
|
|
|
|
our %EXPORT_TAGS = ( 'all' => [ qw(Open Log Exit Table Usage Dir File FileC |
20
|
|
|
|
|
|
|
System Now Menue KeyMap Stat TmpFile |
21
|
|
|
|
|
|
|
DataMenue Menu DataMenu |
22
|
|
|
|
|
|
|
CheckBox RadioButton |
23
|
|
|
|
|
|
|
)]); |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
our @EXPORT = qw( |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
); |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
our $VERSION = '0.63'; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
# Preloaded methods go here. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
1; |
37
|
|
|
|
|
|
|
__END__ |