Keep It Simple, Stupid | |
PerlMonks |
Re: dereferencing file handlesby bwana147 (Pilgrim) |
on Sep 03, 2001 at 11:48 UTC ( [id://109826]=note: print w/replies, xml ) | Need Help?? |
The Cookbook (I haven't got it at hand, so I can't quote) says that a filehandle in a print statement must be a typeglob or a real scalar variable (not an indexed element of a hash/array). You can work around like you did or:
I guess the gurus familiar with Perl's guts can explain why. I can't. --bwana147
In Section
Seekers of Perl Wisdom
|
|