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
|
|
8
|
use blib; |
|
1
|
|
|
|
|
8
|
|
|
1
|
|
|
|
|
90
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
# Restrictions on Loop-variable Names |
8
|
|
|
|
|
|
|
# |
9
|
|
|
|
|
|
|
# Due to a bug in most versions of Text::Balanced, |
10
|
|
|
|
|
|
|
# loop-variable names that look like Perl operators, |
11
|
|
|
|
|
|
|
# including $m, $a, $s, $y, $tr, $qq, $qw, $qr, $qx |
12
|
|
|
|
|
|
|
# and possibly others, cause syntax errors. |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
# are these restrictions fixed ? |
15
|
|
|
|
|
|
|
|
16
|
1
|
|
|
1
|
|
1111
|
use Shell::POSIX::Select ; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
select $m (@ARGV) { print "$m\n"; } |
19
|
|
|
|
|
|
|
select $a (@ARGV) { print "$a\n"; } |
20
|
|
|
|
|
|
|
select $s (@ARGV) { print "$s\n"; } |
21
|
|
|
|
|
|
|
select $y (@ARGV) { print "$y\n"; } |
22
|
1
|
50
|
50
|
|
|
5
|
select $tr (@ARGV) { print "$tr\n"; } |
23
|
|
|
|
|
|
|
select $qq (@ARGV) { print "$qq\n"; } |
24
|
|
|
|
|
|
|
select $qw (@ARGV) { print "$qw\n"; } |
25
|
|
|
|
|
|
|
select $qr (@ARGV) { print "$qr\n"; } |
26
|
|
|
|
|
|
|
select $qx (@ARGV) { print "$qx\n"; } |