Don't ask to ask, just ask | |
PerlMonks |
Re: Perl script to read a tab delimited text fileby Crian (Curate) |
on Apr 01, 2004 at 14:16 UTC ( [id://341634]=note: print w/replies, xml ) | Need Help?? |
Just a general hint: I think it's a good idea to print the reason ($!) when the opening (or else) of a file fails.
Because it gives the user a hint, whats going wrong. Also it's helpful to name the file... If you use q(...) or '...', you don't need to double the backslash. All three tipps together remain in something like hth
In Section
Seekers of Perl Wisdom
|
|