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