line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/env perl |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
3049
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
24
|
|
4
|
1
|
|
|
1
|
|
3
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
19
|
|
5
|
1
|
|
|
1
|
|
15
|
use 5.008_001; |
|
1
|
|
|
|
|
2
|
|
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
452
|
use Pod::Usage; |
|
1
|
|
|
|
|
31897
|
|
|
1
|
|
|
|
|
108
|
|
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
8
|
use version; our $VERSION = 'v0.7.1'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
5
|
|
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
|
86
|
use App::Memcached::CLI::Main; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
91
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
if (__FILE__ eq $0) { |
14
|
|
|
|
|
|
|
main() |
15
|
|
|
|
|
|
|
} else { |
16
|
|
|
|
|
|
|
return 1; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub main { |
20
|
0
|
|
|
0
|
|
|
my $Cli_Class = 'App::Memcached::CLI::Main'; |
21
|
0
|
|
|
|
|
|
my $params = $Cli_Class->parse_args; |
22
|
0
|
0
|
|
|
|
|
pod2usage(-verbose => 1) if $params->{help}; |
23
|
0
|
0
|
|
|
|
|
pod2usage(-verbose => 2) if $params->{man}; |
24
|
0
|
0
|
|
|
|
|
my $cli = $Cli_Class->new(%$params) or pod2usage(-verbose => 1); |
25
|
0
|
|
|
|
|
|
$cli->run; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__END__ |