After using the slick web installer to install MacPerl
5.6.1b2 on my iBook the file "Navigation.pm" was in the
"Mac" folder that's within the "lib" folder, right
where it should be, along with "Navigation.xs",
"StandardFile.pm", etc..
#!perl5
use Mac::StandardFile;
print "ok\n";
__END__
prints "ok";
--------
#!perl5
use Mac::Navigation;
print "ok\n";
__END__
yields the following...
# Can't locate loadable object for module
Mac::Navigation in @INC (@INC
contains: HD:Programming:PERL:MacPerl :lib:Mac:
HD:Programming:PERL:MacPerl :lib:MacPPC:
HD:Programming:PERL:MacPerl
:lib: HD:Programming:PERL:MacPerl :site_perl: :
Dev:Pseudo:)
File 'Dev:Pseudo'; Line 8
# Compilation failed in require.
File 'Dev:Pseudo'; Line 8
# BEGIN failed--compilation aborted.
File 'Dev:Pseudo'; Line 8
--------
In a test I...
- duplicated "Navigation.pm"
- changed the name to "abc.pm"
- changed line 19 from "package Mac::Navigation;" to
"package Mac::xyz;"
- changed line 127 from "bootstrap Mac::Navigation;"
to "bootstrap Mac::xyz;"
- and ran the following...
#!perl5
use Mac::abc;
print "ok\n";
__END__
which yielded the following error message...
# Can't locate loadable object for module Mac::xyz in
@INC (@INC contains: HD:Programming:PERL:MacPerl
:lib:Mac: HD:Programming:PERL:MacPerl :lib:MacPPC:
HD:Programming:PERL:MacPerl :lib:
HD:Programming:PERL:MacPerl :site_perl: : Dev:Pseudo:)
File 'HD:Programming:PERL:a.pl'; Line 1
# Compilation failed in require.
File 'HD:Programming:PERL:a.pl'; Line 1
# BEGIN failed--compilation aborted.
File 'HD:Programming:PERL:a.
Logged In: YES
user_id=3660
This has been fixed; the Navigation shared library was
installed into your System Folder by mistake. The next
release will have it right.