in reply to Creating an Intermediate Perl Programming Curriculum

more thoughts...
# general rule 1 use strict; use warnings; # general rule 2 #!/usr/bin/perl -T - unless you know you don't need it # general rule 3 Don't just use -T and then untaint everything with /(.*)/ - unless you know why # CGI Rule 1 #!/usr/bin/perl -T use strict; use warnings; # CGI Rule 2 (when testing) use CGI::Carp 'fatalsToBrowser'

cLive ;-)

Replies are listed 'Best First'.
Re: Re: Creating an Intermediate Perl Programming Curriculum
by Jenda (Abbot) on May 06, 2004 at 11:47 UTC
    # CGI Rule 3 (when in production) # never ever use CGI::Carp 'fatalsToBrowser';

    Jenda
    Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
       -- Rick Osborne

    Edit by castaway: Closed small tag in signature