good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: printing to filehandle contained in a hashby rubasov (Friar) |
on Feb 20, 2010 at 01:18 UTC ( [id://824301]=note: print w/replies, xml ) | Need Help?? |
All of your hash keys (just the keys, not the values) will be stringified in perl5, so you cannot store a filehandle (or a reference) in a hash key (a hash key is a string, not a scalar variable for general use). Try to store these somewhere else, depending on your data structure for instance:
In Section
Seekers of Perl Wisdom
|
|