Hi Scott,
Scott Haneda wrote:
ASSP installed. I edit the ASSP source files to change the first line
from:
#!/usr/bin/perl --
to
#!/opt/local/bin/perl --
...
run as `perl testfile.pl` it will fail, with error that it can not find
email valid
run as `/opt/local/bin/perl testfile.pl` it works.
I'm not much of a Mac user, so perhaps this is not too helpful, but one thing you might
want to check is if all these perl's are the same executables. I think "perl
--version" will do it. Check that these are all the same:
/usr/bin/perl --version
/opt/local/bin/perl --version
perl --version
They most likely aren't the same and if so, the problem is just that the
modules you want (Email::Valid, etc.) have been installed for one version and
not the other. Multiple versions of perl can co-exist, of course. So, if you
do find an old one, you don't need to uninstall it.
Personally, I always thought for a particular version, you should use the
libraries that have been installed for that version. i.e., if you are using
5.8.8, then you should use 5.8.8's libraries. But, I could be wrong about
that...
Ray
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/