- or download this
while ( <$handles[ 3 ]> ) {
# do something with last line read
}
- or download this
while ( defined( my $line = $handles[ 3 ]->getline ) ) {
# do something with $line
}
- or download this
frobnicate( $handles[ 3 ]->getline ) until $handles[ 3 ]->eof;
- or download this
my $tmp = $handles[ 3 ];
while ( <$tmp> ) {
# go crazy
}