At 21:24 +0100 2002.04.24, FLA wrote: >I can't get any scripts to run in perl because I can't define the path. It >installed itself on the hard disk in the application folder, inside a folder >called MacPerlŸ. I tried defining this as the path, but the scripts weren't >interested. So I changed a couple of folder names, to make the path >/Macintoch HD/Applications/usr/bin/MacPerl - but that didn't work either. >I've tried all the permutations I can think of - substituting ':' for '/', >calling it perl or MacPerl - if anyone has any other ideas, I'd be really >grateful.
$ENV{MACPERL} will give you the path to the directory MacPerl is in. However, if the program doesn't do portable filenames (via File::Spec) but instead builds paths using "/" etc., then that will break things. -- Chris Nandor [EMAIL PROTECTED] http://pudge.net/ Open Source Development Network [EMAIL PROTECTED] http://osdn.com/