![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
Fellow monks,
I'm getting unexpected behavior using use lib; It seems that the only directory my module can be found in is a subdirectory of the directory out of which the pages are being served. Also, when I don't use lib; and put the module in my PERL5LIB directory, Perl complains that it cannot be found. I have verified that all is setup correctly. Here is what I have: (in the script) directory listing: http error output: I have tested other directories and nothing seems to work. However, if I do this: and put the module file in that directory, with the pages being served out of /var/www/cgi-bin/survey, it all works fine. It is fine for me to store modules in the application subdirectories. I'm just wondering why Perl cannot find them anywhere else, including my exported PERL5LIB directory. davidj In reply to unexpected use lib behavior by davidj
|
|