There's more than one way to do things | |
PerlMonks |
"Use strict" and "Use warnings" not workingby Anonymous Monk |
on Jun 03, 2010 at 00:01 UTC ( [id://842826]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: I am a very new Perl user using Mac OS X 10.6.3 and running Perl 5.10.0. I'm trying to use the "mechanize" module for data collection. I downloaded and installed this module using CPAN ($perl -MCPAN -e shell). Now the "use warnings" and "use strict" commands don't appear to be working. I start in Terminal with: $which perl /usr/bin/perl $perl -v $use strict; -bash: use: command not found $use warnings; -bash: use: command not found Any idea as to why this is happening and/or what I can do to get these commands to work would be very helpful.
Back to
Seekers of Perl Wisdom
|
|