[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] cpan-mac-0.32 Autosplit problem



There is a problem with a clean install of cpan-mac-0.32. Here is the 
senerio...
I install macperl.
I run the install.plx for cpan-mac. Autosplit however will not work at this
point because site_perl has not been added to the library search path in the
prefs of MacPerl (And can't because the site_perl directory does not exist).

The following code attempts to load in AutoSplit but will not load in the
correct version. This will work over installs that already have the prefs
for
site_perl in MacPerl.

require "AutoSplit.pm";
AutoSplit->import;

If you change this to the following it should work.

require "$ENV{MACPERL}site_perl:AutoSplit.pm";
AutoSplit->import;


Otherwise if you don't inspect the cpan-mac install.plx output well you will
not notice that it didn't work. You may then experience lockups etc. while
using things that were not autosplit.

Another way around it is to install macperl, create a folder named site_perl
in
the main MacPerl location, set the prefs to look for site_perl first....
but anyways...

Ricardo Muggli

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org