Test_Progs/other_select2

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Test_Progs/other_select1 ↑ Summary Test_Progs/stderr »
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 file-descriptor monitoring version of select
10 # doesn't get identified as loopy one
11  
12 1 $rout= $timeleft= $nfound= $wout= $eout= $timeout = 0;
13 1 $rin = $win = $ein = '';
14 1 vec($rin,fileno(STDIN),1) = 1;
15 1 vec($win,fileno(STDOUT),1) = 1;
16 1 $ein = $rin | $win;
17  
18 1 ($nfound,$timeleft) =
19 select($rout=$rin, $wout=$win, $eout=$ein, $timeout);
« Test_Progs/other_select1 ↑ Summary Test_Progs/stderr »