Glancing at your code, you are clearly not using strict.pm. It is generally a good idea to use that, and then declare all of your variables with my or use vars.
The biggest single win that you'll get is that for a small amount of extra declarations, you will catch many typos because Perl will notice that variables are undeclared. (Much better than just having your program silently misbehave for difficult to track down reasons.)
In reply to Re: file's treatment
by tilly
in thread file's treatment
by boby_drack
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |