RE: Need some help using lib to add custom directories to @INC

2004-09-16 Thread Wiggins d Anconia
> > > -Original Message- > > From: Wiggins d Anconia [mailto:[EMAIL PROTECTED] > > Sent: Thursday, September 16, 2004 9:03 AM > > To: Ron Goral; Perl Beginners; [EMAIL PROTECTED] > > Subject: Re: Need some help using lib to add custom directories to @INC > > > > > > Please only post to one

RE: Need some help using lib to add custom directories to @INC

2004-09-16 Thread Ron Goral
> -Original Message- > From: Wiggins d Anconia [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 16, 2004 9:03 AM > To: Ron Goral; Perl Beginners; [EMAIL PROTECTED] > Subject: Re: Need some help using lib to add custom directories to @INC > > > Please only post to one group, if that g

Re: CGI Book Advice sought ...

2004-09-16 Thread Chad A Gard
On Sep 15, 2004, at 9:14 PM, Wiggins d'Anconia wrote: I would echo Chris' remarks about mod_perl, and the book not being worth its oats if it shys away from using CGI.pm. Personally I would skip *all* of the CGI books, and get a good book on Perl itself. Learn the language not how to use it for

Re: Need some help using lib to add custom directories to @INC

2004-09-16 Thread Wiggins d Anconia
Please only post to one group, if that group does not yield a good answer, then try a different one. Especially since this has nothing to do with CGI. > Can anyone tell me why this code fails when trying to load > Some_Module_In_lib_Dir- > == > my $file_path = > substr

Need some help using lib to add custom directories to @INC

2004-09-16 Thread Ron Goral
Can anyone tell me why this code fails when trying to load Some_Module_In_lib_Dir- == my $file_path = substr($ENV{SCRIPT_FILENAME},0,index($ENV{SCRIPT_FILENAME},'/test.cgi')); use lib "$file_path/../lib"; use Some_Module_In_lib_Dir; == And th