Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
no -w warning popped up. Does this mean this way to test for taintedness is unreliable? Or should there be a warning, that was somehow forgotten?sub taintedness { !eval { eval substr(join("",@_),0,0)."1" } }
Edit by dws for tag cleanup
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: -w clean detect taint?
by samtregar (Abbot) on May 02, 2002 at 17:42 UTC | |
by Anonymous Monk on May 02, 2002 at 18:00 UTC |