lakshmananindia has asked for the wisdom of the Perl Monks concerning the following question:
It will prevent you from using or relying on data that was provided from outside the script.
Is this right?
If right, then please look the code below
When I run this script with -T switch, it tellsuse strict; use warnings; system("ls");
Insecure $ENV{PATH} while running with -T switch at a.pl line 32. errorBut my question is, inside the script only I gave the input. So why it is telling error.
If my understanding is wrong on perl taint, please correct me.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Doubt in perl taint
by Skeeve (Parson) on Dec 13, 2008 at 07:08 UTC | |
|
Re: Doubt in perl taint
by ikegami (Patriarch) on Dec 13, 2008 at 07:13 UTC | |
|
Re: Doubt in perl taint
by nagalenoj (Friar) on Dec 13, 2008 at 09:04 UTC | |
|
Re: Doubt in perl taint
by Bloodnok (Vicar) on Dec 13, 2008 at 12:08 UTC | |
by ikegami (Patriarch) on Dec 13, 2008 at 16:20 UTC | |
by Bloodnok (Vicar) on Dec 13, 2008 at 17:26 UTC | |
by ikegami (Patriarch) on Dec 13, 2008 at 17:31 UTC | |
by Bloodnok (Vicar) on Dec 13, 2008 at 18:21 UTC | |
|