>>>>> "Clinton" == Clinton Gormley <[EMAIL PROTECTED] > writes:

>> $fp =~ /(.*)/;
Clinton> This doesn't untaint $fp.

Clinton> instead, you could do this:

Clinton>   ( $fp )=( $fp =~ /(.*)/ );

Don't forget the /s.  Remember, Unix paths can contain newline.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Reply via email to