http://qs321.pair.com?node_id=655316


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 )=-