laziness, impatience, and hubris | |
PerlMonks |
Re: "Use strict" and "Use warnings" not workingby toolic (Bishop) |
on Jun 03, 2010 at 00:17 UTC ( [id://842828]=note: print w/replies, xml ) | Need Help?? |
It looks like you are trying to run an executable command named "use" at your bash command prompt. Don't do that.
use strict and warnings belong inside a Perl file. For example, you can create a file named "foo.pl", give it execute permissions, and add these 2 lines at the top: See also: perlintro Tutorials -> Getting Started with Perl
In Section
Seekers of Perl Wisdom
|
|