Jay Savage am Freitag, 28. Oktober 2005 16.05:
[...]
> But none of the advice here has untainted $name. 

From my answer:

>This will find files and paths containing a lower character. 
>You probably meant
>
>        if ($name =~/^[a-z]+$/) {
>
>respectively, since -T expects untainting by a catched value (i think ;-):
>
>        if ($name =~/^([a-z])+$/) {
>                $name=$1;

:-)

joe

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to