>
>I seem to have found some resolution to my problem. I am using strict and
>had been using the module that resides in the standard libs as follows:
>
>use NYT::Cnxdb;
>
>my $cnxdb = NYT::Cnxdb->new
>
>when I say my $cnxdb = Cnxdb->new
>instead, it works. I was assuming that strict would want me to fully
>qualify the package Cnxdb, but it raises an error when I do so.
>
>I still get some weird error messages about using uninitialised variables,
>but these are all declared as my $foo = ""; before they are ever used.
>
>Thanks for your suggestions.
>
>
>
>At 03:04 PM 5/21/01 -0400, you wrote:
>
>>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.
>>
>>Did you install this module with the canonical
>>
>>perl Makefile.PL PREFIX=/home/me/lib
>>make
>>make test
>>make install
Peter Cline
Inet Developer
New York Times Digital