Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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"?

or non-Perl: Andy Ford

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://579969]
[holli]: oh jesus, oh boy jesus, my stomach
[holli]: i got super stoned last night, had a large pizza, half an apple pie, two oranges, a banana, and half a bar of chocolate
[holli]: oh and a handful of gummy bears
[erix]: "macht die Kleine froh und die grosse ebenso!"
[erix]: (or something like that)

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2017-11-22 08:50 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (316 votes). Check out past polls.