|
|
| laziness, impatience, and hubris | |
| PerlMonks |
filehandle for closeby zbest (Initiate) |
| on Jan 14, 2013 at 20:37 UTC ( #1013273=perlquestion: print w/ replies, xml ) | Need Help?? |
|
zbest has asked for the
wisdom of the Perl Monks concerning the following question:
I have a script with the following two lines:
since both print and close take a FILEHANDLE, I would expect these to work. However the print works fine and writes to the desired file handle, but the close fails with: I do not know what a GLOB is. Is there a simple way to close this file that works?
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||