|
|
| Welcome to the Monastery | |
| PerlMonks |
Re^3: Perl fIle handlesby wind (Priest) |
| on Jun 15, 2011 at 17:55 UTC ( #909822=note: print w/ replies, xml ) | Need Help?? |
|
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
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||