Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Changing @INC path detail

by graq (Curate)
on Dec 06, 2007 at 08:52 UTC ( #655316=note: print w/replies, xml ) Need Help??

in reply to Changing @INC path detail

If you have some code that you want to flip between using different library paths, you can make it $ENV dependent.

BEGIN { $ENV{$_} && unshift @INC, $ENV{$_} for (qw|DEVA_OR_DEVB|); }

Setting up $ENV will depend on your OS / server environment.

-=( Graq )=-

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://655316]
[LanX]: as long as he has votes left, the nodelet remains
[LanX]: There is a very simple solution ...
[marinersk]: Correct, so one workaround is to leave one vote.
[marinersk]: But I was looking for a more elegant solution. It appears noone online at this time is aware of one.
[LanX]: go to Nodelet Settings and click "All nodelets off"
[marinersk]: LanX++ LOL Yes, that is another workaround. :-)
[LanX]: strangely you can't disable the XP nodelet
[LanX]: But you can use CSS to hide it

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2017-05-29 14:17 GMT
Find Nodes?
    Voting Booth?