www.perl.com
Perl Programming
Pragmata
  • Pragmata
    • Compiler directives that affect program compilation
    • Beginners should consider the following mandatory!
    • use strict
      • Restricts unsafe constructs, requires declaration of variables, helps prevent common errors, feels more formal and less casual.
    • use warnings
      • Provides helpful diagnostics. Older perl versions used a -w flag on the interpreter line.

        #!/usr/athena/bin/perl

        use strict;
        use warnings;	
      
Previous http://stuff.mit.edu/iap/perl/