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.


DWIM is Perl's answer to Gödel

Replies are listed 'Best First'.
Re^2: perl script checker
by edwardt_tril (Sexton) on Dec 12, 2005 at 20:16 UTC
    those code are written by a group other people. so I need to do some analysis and
    it is very hard for me to go thru those lines one by one.
    I have do the use strict and use warnings and found somthing, and just wonder if
    there is anything more/suggestion that people have used???
    thanks