in reply to Re: Re: tainted entangled hashrefs
in thread tainted entangled hashrefs

I tested the following with "dirty" commented and uncommented:

#!/usr/bin/perl -wT use strict; my $foo = { clean => 'test.dat', # dirty => scalar(<>), }; open (F,"+>{$foo->{clean}}"); close(F);

As shown here, it ran with no error. That tells me that $foo->{clean} really is taint clean.

yours,
Michael

Replies are listed 'Best First'.
Re: Re: Re: Re: tainted entangled hashrefs
by Boldra (Curate) on Aug 22, 2001 at 20:59 UTC
    I get an error if the "dirty" line is not commented, using perl 5.005_03, 5.6.0 and 5.6.1.

    - Boldra