On Jul 16, 2004, at 9:08 AM, Sergej Zoubok wrote:

1. how can I get applications (specifically BBEdit's perl support) to use 5.8 rather than the stock 5.8.1? I know that gui apps run in a different environment from the terminal (bash shell) and that the solution has been mentioned before. I just can't seem to lay my hands on it.

Just write your script with a #! line that points to the Perl you want it to use. #!/usr/bin/perl, #!/usr/local/bin/perl, #!/usr/bin/perl581, whatever.


2. I've also just installed Fink (excellent!). In experimenting with it, I installed Template Toolkit. It seems that it installed it again 5.8.1 despite my use of the older perl for the fink installation. I would have thought that fink would use the perl that comes first in my path, but apparently not.

You're giving Fink far too much credit there. It simply copies the files in the packages - it doesn't examine your environment or do a proper module installation. If you're not using the stock Perl, Fink is useless when it comes to Perl modules. (Even if you are using the stock Perl, Fink is still damn near useless for modules...)


I've scoured the fink site but find a solution. fink.conf does not include a perl path setting. With the all the fink users/advocate on this list I'm hoping this is an easy one!

Best solution: Don't use Fink to install Perl modules. Use Perl to install Perl modules. The install procedure is well documented in 'perldoc perlmodinstall' and many books and tutorials, and lots of folks here can help you if you get stuck.


sherm--



Reply via email to