That was here and it was wrong. The only reason to not use a filehandle of DATA is in case you will want to upgrade your script to have an __END__ section (or your module to have a __DATA__ section).
So I agree that it is a good idea to not use DATA as a file handle, but I disagree that doing so will cause problems with the script (just potential maintenance problems).
- tye (but my friends call me "Tye")In reply to (tye)Re: Using a Sub to pull info. from a Text File
by tye
in thread Using a Sub to pull info. from a Text File
by Perl Newby
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |