Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^2: use lib in cgi env

by AlexTape (Monk)
on Nov 05, 2012 at 15:37 UTC ( #1002348=note: print w/replies, xml ) Need Help??

in reply to Re: use lib in cgi env
in thread use lib in cgi env

the weird thing is that i am not able to use a relative lib because he is mixing the pathes.. is there any kind of priority or something like this in which order perl looks for the modules in the known folder (@INC)?
$perlig =~ s/pec/cep/g if 'errors expected';

Replies are listed 'Best First'.
Re^3: use lib in cgi env
by Corion (Pope) on Nov 05, 2012 at 15:41 UTC

    Yes - see perlvar for @INC, which links to require, which shows the (pseudo-)code that require uses. It looks through @INC in order of entry appearance.

      looks good. thanks!
      $perlig =~ s/pec/cep/g if 'errors expected';

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2016-10-27 05:00 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (353 votes). Check out past polls.