|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: Bug (or feature) in 5.0053 print?by bwana147 (Pilgrim) |
| on Jul 27, 2001 at 08:07 UTC ( [id://100246]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Recipe 7.16 of the Cookbook explicitely explains that the file handle must be a real scalar variable, not a array or hash subscript. Which you can work around with scalar, as you discovered, or by surrounding the "complex file handle" with curlies, like bikeNomad puts it. --bwana147
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||