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

Re: Re: `use lib' confusion

by mikeirw (Pilgrim)
on Nov 16, 2002 at 22:15 UTC ( #213459=note: print w/ replies, xml ) Need Help??


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'.


Comment on Re: Re: `use lib' confusion
Download Code
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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (21)
As of 2015-07-31 14:06 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 (278 votes), past polls