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.
In reply to "Use strict" and "Use warnings" not working by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |