in reply to perl script checker
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl script checker
by edwardt_tril (Sexton) on Dec 12, 2005 at 20:16 UTC |