Not being familiar with Sun: Have you tried using the REQUIRE keyword in
your script? (require "write_complete_path_here/Modulename.pm") In Win,
which I'm forced to use: it's analogous to having your module resided on a
shared folder, s, and would be
require "s:/folder1/folder2/Modulename.pm";
Hope this works... I apologize if I'm missing your point.
At 02:23 PM 5/21/2001 -0400, Peter Cline wrote:
>Hello, I am attempting to develop my first module. Because of
>permissions/security, etc.. I cannot store the module in the standard
>perl lib directories. So it is currently living in a subdir called lib in
>my home directory. I use a "use lib" directive to add this directory to
>@INC. this works , but when I try then to use another module that does
>reside in the standard lib directories, I get a "Can't locate object
>method "new" in module "X" at path-specified-in -use-lib-directive.
>
>When I print the elements of @INC all of the standard directories are
>printed as is the new one I've specified. I've also tried putting the
>directory into @INC using push, but I get the same error message.
>
>I am using Perl 5.00501 on SunOS 5.6.
>
>Thanks!
>
>
>Peter Cline
>Inet Developer
>New York Times Digital
>
>