Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: unexpected use lib behavior

by andyford (Curate)
on Oct 23, 2006 at 09:44 UTC ( #579969=note: print w/ replies, xml ) Need Help??


in reply to unexpected use lib behavior

Are you forgetting to "use survey"?

andyford
or non-Perl: Andy Ford


Comment on Re: unexpected use lib behavior
Re^2: unexpected use lib behavior
by davidj (Priest) on Oct 23, 2006 at 09:51 UTC
    I am not forgetting. The problem happens only when I take the module out of an app subdirectory and change the corresponding use lib; directory.
    #!/usr/bin/perl -T use strict; use warnings; #use lib "/var/www/cgi-bin/survey/lib"; use lib "/home/davidj/perl/lib/survey"; use CGI qw/standard/; use survey;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://579969]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (17)
As of 2015-07-02 17:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (44 votes), past polls