|
|
| P is for Practical | |
| PerlMonks |
Re: filehandler stored in hash-refby kyle (Abbot) |
| on Dec 10, 2009 at 15:25 UTC ( #812218=note: print w/ replies, xml ) | Need Help?? |
|
You can get the print to work if you wrap the filehandle in a block.
Note that if you're reading from a filehandle in an array, you have to store it in a scalar for the diamond operator to work.
If that's too much trouble, you can use readline.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||