|
From: Nick C. <ni...@cl...> - 2002-01-13 18:31:06
|
On Sun, Jan 13, 2002 at 01:29:03PM +0000, Jonathan Stowe wrote: > On Fri, 11 Jan 2002, Joseph F. Ryan wrote: > > > Hmmm, I had originally taken the taint switch off in simple search for that > > reason. I wonder how it found its way back in? :) > > Er, because that isnt the right solution to the problem ;-} I think that > the use of -T is stated in the ground rules, if the File::Find that comes > with older Perls can't take it then we will have to find something else to > use - Is it possible (or indeed desirable ) to wrap the find() in $^T = 0; > ... $^T = 1; as long as we are content that everything our code is > passing to find() is no longer tainted ? IMO '$^T = 0;' is a bad, bad thing. I'd much sooner fall back to using readdir. -- Nick |