P is for Practical | |
PerlMonks |
filehandler stored in hash-refby jeanluca (Deacon) |
on Dec 10, 2009 at 15:16 UTC ( [id://812215]=perlquestion: print w/replies, xml ) | Need Help?? |
jeanluca has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks
I want to store a filehandler in a hash-ref and use it like:
Looks ok (to me), but doesn't work. If I change this code to it works fine. For some reason 'print' doesn't recognize $s->{out} as a filehandler. Any suggestions ? thnx LuCa
Back to
Seekers of Perl Wisdom
|
|