ghor has asked for the wisdom of the Perl Monks concerning the following question:
However, if the last line is replaced by$file_h{$temp1} = "$temp2"; open($file_h{$temp1}, "< $file"); $line = <$file_h{$temp1}>;
then all is well. Ideas?$fh = $file_h{$temp1}; $line = <$fh>;;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: Please explain: A hash of file handles peculiarity
by tye (Sage) on Jan 30, 2001 at 10:00 UTC | |
|
Re: Please explain: A hash of file handles peculiarity
by japhy (Canon) on Jan 30, 2001 at 09:49 UTC | |
|
Re: Please explain: A hash of file handles peculiarity
by repson (Chaplain) on Jan 30, 2001 at 09:49 UTC |