File Coverage

Test_Progs/sub2
Criterion Covered Total %
statement 27 64 42.1
branch 7 44 15.9
condition 4 16 25.0
subroutine 2 2 100.0
pod n/a
total 40 126 31.7


line stmt bran cond sub pod time code
1             #! /usr/bin/perl -w
2              
3 1     1   857 use Shell::POSIX::Select ;
  1         1  
  1         4  
4              
5             sub select_in_sub {
6             select $var () { print "$var\n"; }
7             }
8              
9             @ARGV=1..3;
10 1 50 50 1   1 select_in_sub qw(a b) ;
  1         5