in reply to perl -mstrict foo.pl
normaly:
tom@margo:~> perl -e 'print $test'; tom@margo:~>
Enforce strict
tom@margo:~> perl -Mstrict -e 'print $test'; Global symbol "$test" requires explicit package name at -e line 1. Execution of -e aborted due to compilation errors.
Or did i misread your question?
regards,
tomte
Hlade's Law:
If you have a difficult task, give it to a lazy person --
they will find an easier way to do it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: perl -mstrict foo.pl
by ViceRaid (Chaplain) on Jun 06, 2003 at 16:43 UTC | |
by Tomte (Priest) on Jun 06, 2003 at 16:46 UTC | |
by djantzen (Priest) on Jun 06, 2003 at 17:24 UTC |