in reply to Re^3: 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.
sub from_handle { my $self = shift; my %opts = @_; my $fh = $opts{-handle}; while (<$fh>) { #... and here we're supposed to read from FH } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Passing a file handle to a sub. I still don't get it.
by ysth (Canon) on Jun 09, 2005 at 20:20 UTC | |
by mifflin (Curate) on Jun 09, 2005 at 20:38 UTC | |
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 |