in reply to Need your advice on how to start a program

Also I use prefix $g_ on globals.

I'd say that the more normal Perl convention would be to use the case of the variable name to indicate scope ($local, $Global, $CONSTANT).

And POD at the end of file...

You might be interested in the recommended templates from Damian's forthcoming "Perl Best Practices".

  • Comment on Re: Need your advice on how to start a program

Replies are listed 'Best First'.
Re^2: Need your advice on how to start a program
by songahji (Friar) on May 05, 2005 at 19:12 UTC
    I like that $Global, $local and $CONSTANT variable name conventions. Where can I find the guidelines for normal Perl convention?

    Thanks.

      See perldoc perlstyle
        Thanks, I did not know that one.