develooper Front page | perl.perl5.porters | Postings from December 2004

Re: [perl #33173] shellwords.pl and tainting

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
December 24, 2004 06:18
Subject:
Re: [perl #33173] shellwords.pl and tainting
Message ID:
20041224151940.441251f4@grubert.mandrakesoft.com
perl-5.8.0@ton.iguana.be (via RT) wrote:
> Below is an updated version of shellwords.pl with the following 
> changes:

Thanks, applied as #23681 to blead.

> - keep taint
> - use the local *_ = ref trick to defeat tied $_
> - use my variables instead of local, and drop the now unneeded internal
>   package
> - use \A instead of ^ in the regexes (in case $* still exists and works)
> - add a s modifier to the regexes using ., so that newlines can be escaped
> - don't advise &fun style calls in the usage section

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About