in reply to taint mode, libraries and file path
In case the previous post wasn't clear, you can go back to using:
In your development environment. That has nothing to do with the message you're getting. As was said, you need to set $ENV{PATH} to some value before doing a call to any external program.use lib "..";
Incidentally, the reason you haven't hit this in production is likely because your production server is calling CGI scripts with no PATH set in the environment. This means that your production scripts will suddenly break if someone tweaks the existing Apache configuration file and adds:
SetEnv PATH /bin:/usr/bin
to the Apache configuration. This is a ticking bomb, and waiting for someone else to break it in this fashion. You might want to put:
at the top of your production scripts as soon as is feasible.$ENV{PATH} = q[/bin:/usr/bin];
-- @/=map{[/./g]}qw/.h_nJ Xapou cets krht ele_ r_ra/; map{y/X_/\n /;print}map{pop@$_}@/for@/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: taint mode, libraries and file path
by tilly (Archbishop) on Aug 22, 2005 at 06:35 UTC | |
by fizbin (Chaplain) on Aug 22, 2005 at 13:55 UTC | |
by danmcb (Monk) on Aug 22, 2005 at 21:50 UTC |