Test_Progs/other_select1

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« browse_images.plx.PL ↑ Summary Test_Progs/other_select2 »
1 #! /usr/bin/perl -w
2  
3 1 my $VERSION = 1.02;
4  
5 1 ▶use blib;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 ▶use Shell::POSIX::Select;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 # Make sure that filehandle version of select doesn't get parsed as loopy one
10  
11 # select ('^d to exit') { }
12  
13 1 $old_fh = select (STDERR); $|=1; select ($old_fh);
14  
15 # select ('^d to exit') { }
16  
17 1 print STDOUT "STDOUT\n";
18  
19 # Found during testing that I can't actually print output to both channels
20 # and know the order in which the words will appear! Linux differs
21 # from Solaris!
22  
23 # print STDERR "STDERR\n";
24  
« browse_images.plx.PL ↑ Summary Test_Progs/other_select2 »