in reply to Re^2: Perl fIle handles
in thread Perl fIle handles
No, actually I just wanted to demonstrate that he could include the my within the open statement, but I can see how you could think I was implying something else. It was up to him to simply read the docs for open to see how to use the three parameter form.
Also, I'd advise against ever using the three parameter form of open when wanting read mode. It's much better to just let read mode be assumed so you don't risk putting the symbol in the wrong direction and overwriting your file.
Just my .02
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Perl fIle handles
by lidden (Curate) on Jun 16, 2011 at 06:21 UTC | |
by wind (Priest) on Jun 16, 2011 at 22:17 UTC |
In Section
Seekers of Perl Wisdom