develooper Front page | perl.perl5.porters | Postings from April 2007

Re: Tainted coderefs and other things

Thread Previous | Thread Next
From:
Ovid
Date:
April 29, 2007 04:46
Subject:
Re: Tainted coderefs and other things
Message ID:
922673.88788.qm@web60820.mail.yahoo.com
--- Ovid <publiustemp-p5p3@yahoo.com> wrote:

> I'm writing a module, 'Sub::Information', which attempts to gather up
> all of the information available about a code reference and make it
> available in one spot.  One question I wound up with was whether or
> not
> a code reference can be tainted.  I don't *think* it can and my
> attempts to create a tainted coderef have failed.  Is this even
> possible?

Hmm, Leon Brocard just asked me the obvious question:  how would you
untaint it?  I suspect there is no way to taint coderefs.

/me feels stupid now.

Cheers,
Ovid

--

Buy the book -- http://www.oreilly.com/catalog/perlhks/
Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/

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