Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use Perl libraries from fink in BBEdit' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use Perl libraries from fink in BBEdit
Authored by: CaptainQueeg on May 12, '03 01:35:21PM

This works for me:

#!/usr/bin/perl

BEGIN {
push @INC, '/sw/lib/perl5/darwin';
}



[ Reply to This | # ]
Use Perl libraries from fink in BBEdit
Authored by: Beernd on May 13, '03 07:54:37AM
Yes, this works, but this means I have to add this to every single script. Perl can do that task easily, of course, but I think it's inelegant. I found that adding a line
SetEnv PERL5LIB /sw/lib/perl5
to my /etc/httpd/httpd.conf does the trick, probably as well as adding this to an .htaccess-file.

---
"Perhaps nothing is true, and not even that!"
Multatuli, Ideen 1

[ Reply to This | # ]