Larry-

Great insight, thanks. It's obvious that I'll have to do a lot more
research before (possibly) resubmitting anything on this subject. I do
like the idea of at least being able to fiddle with input source
tainting (since this is what usually gets me, even if I know the input
source is safe). Depending on how open() and filehandles are implemented
in Perl6, this might be a useful thing ($fh->untaint ?).

-Nate

Larry Wall wrote:
> 
> Nathan Wiger writes:
> : Is there any interest to do this in the community with tainting? Adding
> : a 'use tainting' to Perl 6 (or 5.7, for that matter)?
> 
> Unfortunately, tainting is a data-flow/data-typing concept, and when
> you try to implement data-flow/data-typing concepts with lexical
> scopes, you run into the same kinds of problems we ran into with my
> first boneheaded implementation of utf8.
> 
> About the only thing you could scope with a lexical scope is whether
> a given input source taints its input, but that sort of decision should
> really be done in an OO fashion as much as possible.  That is, you set
> it on an input stream object, not on a chunk of code.
> 
> Larry

Reply via email to