If you're invoking the script as 'perl taint.pl', then the switches in your hashbang line aren't being executed as early on as they possibly could be.
Assuming this is the case, you have two options (at least on BSD):
Invoke it as 'perl -T taint.pl', or make the script executeable and invoke it as './taint.pl'
|Replies are listed 'Best First'.|
Re: (DDA) Re: (elbie): Newbie Tainted glob question
by DamnDirtyApe (Curate) on Oct 25, 2001 at 08:22 UTC
by blakem (Monsignor) on Oct 25, 2001 at 11:25 UTC