- or download this
open(SuitDoc,<STDIN>) || die "Cannot open file";
...
while ($line = <SuitDoc>) {
...
- or download this
while (<>) { # read from file name(s) in @ARGV or from pipe
...
- or download this
use strict; # get into this habit
...
print $1;
}
}