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

[MacPerl] use module in cwd




I can't get this to work:

use Foo;

where Foo.pm is in the same directory as the script with that line.  The
error given:
   # No such file or directory.
   File ':Foo.pm'; Line 23

Would this work if it were File 'Foo.pm'?

This used to work, until I "fixed" my @INC to put site_perl ahead of the
built-ins (lib, specifically).  Interestingly, the Autoloader.pm in
site_perl which is giving up the search has a bit more Mac-specific code
than the older one which worked the way I want.  I would give version
numbers, except--who woulda thot?--there are no version numbers in
Autoloader.pm!  Why would a Core Thing not have a version?  (IMO, unless a
module will not or cannot be changed, it should have a version number.)

--
MattLangford 


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