use strict; use warnings; are your best friends for that sort of thing.
After that making sure that you use good names for things (var1 is a bad name BTW :) and a clear and consistent indentation style helps a lot.
Where there is something that will do work for you, use it. That is, use modules, they save reinventing wheels and are likely to have been fairly well debugged - especially if they are popular.
In reply to Re: perl script checker
by GrandFather
in thread perl script checker
by edwardt_tril
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |