I have recently installed Perl 5.8.0 on my iMac via "PortsManager" from DarwinPorts <http://www.opendarwin.org/projects/darwinports/>. Perl 5.8.0 resides in the "/opt/local/bin" directory, and this directory is at the beginning of $PATH. Everything works well except that BBEdit seems rather confused. Any suggestions as to how to rectify this confusion would be appreciated.
Here is an example of BBEdit's confusion.
In Terminal the command % perl -e 'for (@INC) { print "$_\n" }' produces /opt/local/lib/perl5/5.8.0/darwin /opt/local/lib/perl5/5.8.0 /opt/local/lib/perl5/site_perl/5.8.0/darwin /opt/local/lib/perl5/site_perl/5.8.0 /opt/local/lib/perl5/site_perl .
When "Run" from BBEdit the script #!/opt/local/bin/perl -w for (@INC) { print "$_\n" } produces exactly the same output in the "Unix Script Output" window. However, when this script is "Run in Terminal" from BBEdit, the output is /Users/vicnorton/Perl/MyPerl/Misc/tests-work /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl .
Something seems to be wrong here.
Any suggestions as to what is going on here and how to rectify it would be greatly appreciated.
Regards,
Vic
-- *---* mailto:[EMAIL PROTECTED] | Victor Thane Norton, Jr. | Mathematician and Motorcyclist | phone: 419-353-3399 *---* http://vic.norton.name