in reply to Re: Perl use statement
in thread Perl use statement

Thanks, I do have a file called Project.pm, and its under a directory called Maker, but it isn't found. Is there some way to set up a search path. --Bill

Replies are listed 'Best First'.
Re: Re: Perl use statement
by Happy-the-monk (Canon) on Mar 29, 2004 at 23:42 UTC

    Have a look at the answers in Where to install my own perl modules?. You can do it either way. My suggestion was to insert a line at the top of your programme: use lib qw( /path/directory ); - where /path/directory is where the "Maker" subdirectory is located inside.

    Sören

Re: Re: Re: Perl use statement
by Anomynous Monk (Scribe) on Mar 30, 2004 at 02:31 UTC
    The "Can't locate loadable object" error is from DynaLoader; it indicates that it has found the appropriate .pm file but not the dynamic library (.dll or .so or whatever) file that goes with it, which ought to be there. This may happen if a module is installed improperly or installed for a different version of perl or for a perl built with different options than the one you are running.

    If you can, reinstall Sun::Solaris::Project from CPAN.