Perl

From Hackepedia
Revision as of 13:56, 23 May 2007 by Hawson (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Whenever you are writing a perl script, it is good practice to use the following:

#!/usr/bin/perl -w
use strict;
use English;

It is worth noting that use English; can noticbly slow down execution time, so you may want to avoid it in places where speed it critical. Of course, if you care about speed, you'd be using C, and not Perl, right? :)