[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] untainting fun



On Mar 11, Adam Rice said:

>> sub untaint(@) { ($_)=keys%{{$_,0}} for @_; @_ }
>
>Experienced Perl programmers know that hash keys are not as other scalars.

Larry has talked about making them SV's like any other, from what I've
heard on P5P.

-- 
MIDN 4/C PINYAN, NROTCURPI, US Naval Reserve             japhy@pobox.com
http://www.pobox.com/~japhy/                  http://pinyaj.stu.rpi.edu/
PerlMonth - An Online Perl Magazine            http://www.perlmonth.com/
The Perl Archive - Articles, Forums, etc.    http://www.perlarchive.com/


==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe