in reply to Re: Re:(6b) Taint bug with backticks in variable assignments
in thread Taint bug with backticks in variable assignments

I'd have to go with bug as the following works..
#!/usr/bin/perl -T use strict; use warnings; $ENV{PATH} = '/usr/bin:/usr/local/bin:/bin'; $ENV{ENV} = ''; sub do_nothing { @_; } my $vars = [ do_nothing( `echo "base"`), do_nothing(`echo "BAR"`), ];


-Lee

"To be civilized is to deny one's nature."

Replies are listed 'Best First'.
Re: Re: (2): Re:(6b) Taint bug with backticks in variable assignments
by Anonymous Monk on Nov 19, 2003 at 20:52 UTC