> In plain CGI, I normally do this inside a BEGIN 
> block; in mod_perl however, this doesn't work.

This would work if this was done in a <Perl> section of the httpd.conf
file (this is what I do). I am not sure why the BEGIN block is not
executed, but my guess is that the environment gets automatically
restored at the end of every script run under Apache::Registry,
including the tainted PATH.

-- 
Dominique QUATRAVAUX                           Ingénieur senior
01 44 42 00 08                                 IDEALX


Reply via email to