in reply to That damn "strict"
I usually start programs in the command line, typing just 'perl' and coding until I press ^D. I got sick of doing use warnings; use strict; all the time so I just did an alias perl='/usr/bin/perl -Mstrict -w'. Whenever I don't want that, it suffices to run /usr/bin/perl.
$ perl print $c; Global symbol "$c" requires explicit package name at - line 1. Execution of - aborted due to compilation errors. $ /usr/bin/perl print $c; $ _
--
David Serrano
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: That damn "strict"
by saberworks (Curate) on Sep 21, 2005 at 17:24 UTC | |
by Hue-Bond (Priest) on Sep 21, 2005 at 22:02 UTC | |
by ikegami (Patriarch) on Jan 12, 2006 at 18:31 UTC |