[sf-perl] randomize particular lines

Chris Palmer chris at noncombatant.org
Mon Mar 6 17:31:36 PST 2006

Bart Alberti writes:

> #!/usr/bin/perl
> #use warnings;
> use strict;

Quinn already said the most important things, but I'll note another best
practice (according to me, anyway).

People often think that the "shebang" line is how you start a Perl
program. Not so! All true Perl programs start with a 4-line preamble:

    #!/usr/bin/perl -T

    use warnings;
    use strict;

A file beginning with anything else is actually program text in some
other, inferior language. ;) If taint checking, warnings and strict
cause Perl to print any warning or error messages, you definitely have a
bug that you must fix.


More information about the SanFrancisco-pm mailing list