in reply to how to add web hosting account-wide use lib ?
BEGIN { # Blindly untaint. Taintchecking is to protect from Web data; # the environment is under our control. if ($ENV{PERL5LIB} and $ENV{PERL5LIB} =~ /^(.*)$/) { eval "use lib '$_';" foreach (reverse split(/:/,$1)); } if ($ENV{PATH} and $ENV{PATH} =~ /^(.*)$/) { $ENV{PATH}=$1; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to add web hosting account-wide use lib ?
by leocharre (Priest) on Jun 21, 2006 at 16:50 UTC |