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
In reply to Re: That damn "strict"
by Hue-Bond
in thread That damn "strict"
by johnnywang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |