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

Reply via email to