in reply to Re^5: Passing a file handle to a sub. I still don't get it.
in thread Passing a file handle to a sub. I still don't get it.
or better yet...while ($_ = $opts{-handle}->getline()) { print; }
while (my $line = $opts{-handle}->getline()) { print $line; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Passing a file handle to a sub. I still don't get it.
by ysth (Canon) on Jun 10, 2005 at 00:54 UTC | |
by Anonymous Monk on Jun 10, 2005 at 20:57 UTC | |
by ysth (Canon) on Jun 12, 2005 at 04:55 UTC |