line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#! /usr/bin/perl -w |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
|
|
4
|
my $VERSION = 1.02; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
10
|
use blib; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
191
|
|
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
1059
|
use Shell::POSIX::Select; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
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
|
|
|
|
|
6
|
$old_fh = select (STDERR); $|=1; select ($old_fh); |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
6
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
# select ('^d to exit') { } |
16
|
|
|
|
|
|
|
|
17
|
1
|
|
|
|
|
42
|
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
|
|
|
|
|
|
|
|