http://qs1969.pair.com?node_id=213459


in reply to Re: `use lib' confusion
in thread `use lib' confusion

It is in fact a CGI script. The perms on all directories are 0755 and 0644 for the modules, so Apache can read them.

Everything works if I move 'SomeModule.pm' to '/home/mikeirw/lib', and just do:

use SomeModule;

...so the problem is that perl is not descending into 'SomeDir'.

Replies are listed 'Best First'.
Re^3: `use lib' confusion
by Aristotle (Chancellor) on Nov 16, 2002 at 22:24 UTC
    What happens if you
    use lib '/home/mikeirw/lib/SomeDir'; use SomeModule;
    ?

    Makeshifts last the longest.