Test_Progs/argv_heading | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 31 | 68 | 45.5 |
branch | 7 | 44 | 15.9 |
condition | 3 | 13 | 23.0 |
subroutine | 3 | 3 | 100.0 |
pod | n/a | ||
total | 44 | 128 | 34.3 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | #! /usr/bin/perl -w | ||||||
2 | |||||||
3 | 1 | 4 | my $VERSION = 1.03; | ||||
4 | |||||||
5 | 1 | 1 | 10 | use blib; | |||
1 | 3 | ||||||
1 | 123 | ||||||
6 | |||||||
7 | use Shell::POSIX::Select( | ||||||
8 | 1 | 8 | '$Heading', | ||||
9 | # debug => 9, | ||||||
10 | # logging => 1, | ||||||
11 | 1 | 1 | 1189 | ); | |||
1 | 5 | ||||||
12 | |||||||
13 | 1 | 50 | 1 | 953 | BEGIN { @ARGV or @ARGV=qw(A B C) } | ||
14 | |||||||
15 | 1 | 6 | $Heading='MENU CITY'; | ||||
16 | select $var (@ARGV) { print "$var\n"; } |