Re: How to set Environment variable in a Perl script ?

2007-11-29 Thread Perrin Harkins
On Nov 29, 2007 8:06 AM, <[EMAIL PROTECTED]> wrote: > I try to setup the Perl section of the httpd.conf to 'pass' the 'VARIABLE' > environment variable but without success ! Those settings are for passing variables into mod_perl, not for passing them from mod_perl to an external process. It shou

Re: CGI->params() should be tainted, right?

2007-11-29 Thread Joe Schaefer
"Kevin Spencer" <[EMAIL PROTECTED]> writes: [...] > Using the URL: > > http://myserverhere/cgi-bin/taint-test/taint.pl?log=foo > > Produces: > > Oops! Where's the taint?!? > > $^TAINT=1 CGI.pm uses $r->args to get at the query string, which isn't marked as tainted by mod_perl2. Arguably it's a

How to set Environment variable in a Perl script ?

2007-11-29 Thread lienard . bruno
Hello, I am quite new to Apache and Mod_Perl. I have the following configuration : - Windows XP pro - Apache 2.2.4 - ActivePerl 5.8.8 - Mod_Perl 2.0.3 I have to port a script that runs fine under mod_cgi, to mod_perl. This script have to run an external program, but have to set