develooper Front page | perl.perl5.porters | Postings from October 2001

Re: [REPATCH] Re: [PATCH] Re: [ID 20011030.064] File::Temp tempdir (CLEANUP => 1) and -T on OpenBSD 2.9

From:
Jarkko Hietaniemi
Date:
October 31, 2001 06:18
Subject:
Re: [REPATCH] Re: [PATCH] Re: [ID 20011030.064] File::Temp tempdir (CLEANUP => 1) and -T on OpenBSD 2.9
Message ID:
20011031161754.J18289@alpha.hut.fi
On Wed, Oct 31, 2001 at 08:52:12AM -0000, Rafael Garcia-Suarez wrote:
> Tim Jenness wrote in perl.perl5.porters:
> > 
> > Well, if you didn't mind the extra overhead you could always untaint it
> > regardless of whether tain mode is on or not. Then the patch would work on
> > older perls (since I'm assuming the person who filed the bug would like it
> > fixed on their current version).
> 
> Or we could test the definedness of ${"\cTAINT"} : if it's undefined,
> $^TAINT is not supported. Works even with perl 5.005_03. (I use the
> syntax \cTAINT for backwards compatibility).

Uh, this doesn't work at all with blead, nine tests fail...

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About