David Gilden wrote:
> Last question here,
> 
> #!/usr/bin/perl -wT
> 
> 
> .... Snip .......
> 
> my @filesToRemove = <*>;
> 
> The line above is causing:
> 
> Insecure dependency in glob while running with -T switch
> 
> What can I do still have this functionally and satisfy 'tainting'

I'm not positive, but I think with pre-5.6 Perl you cannot use glob under
-T. So you have two choices: 1) use opendir/readdir and untaint those
results, or 2) upgrade to 5.6.1 or higher. Hopefully someone can confirm
this.

-- 
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