http://www.perlmonks.org?node_id=579974


in reply to Re: unexpected use lib behavior
in thread unexpected use lib behavior

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;