Anvilon
Eric | Links | Kids | Talks | Software | Contact
Good Advice
First page Back Continue Last page Overview Graphics

Good Advice

  • When writing anything longer than one line, always:

    • Use the -w command line option
    • Put this line at the top of your program and packages: use strict;
    • Consider using the -T command line option
  • By default, Perl is very lax and permissive. Very.

  • The "use strict" and -w options are critical for catching mistakes like misspelled variables

  • The -T adds a unique level of security

Copyright ©1998-2008
Eric Hammond
Credits