On Mon, 17 Jan 2005 14:54:58 -0600, [EMAIL PROTECTED] (David Gilden) wrote:
Taint mode can be circumvented pretty easily, but you need to be careful. Read perldoc perlsec.
You probably either need to change $ENV{PATH} to '.' , or the cwd. You may need to give it a full pathname.
Or you may need to run somethings thru a "dumb regex", which will satisfy the taint checking. It's a dirty hack, but you can do
sub untaint_me{ my $in = shift; $in =~ /(.*)/; return $1; }
which totally obviates the whole reason for using the -T switch to begin with, but anyway...
-- Scott R. Godin Laughing Dragon Services www.webdragon.net
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>