in reply to Re: Plz help w/ taint issue while copying dir contents
in thread Plz help w/ taint issue while copying dir contents

Isn't
my @list = <$dir1/*.*>;
a file input instead of a readdir()?

Flavio (perl -e "print(scalar(reverse('ti.xittelop@oivalf')))")

Don't fool yourself.

Replies are listed 'Best First'.
Re^3: Plz help w/ taint issue while copying dir contents
by PodMaster (Abbot) on Apr 12, 2005 at 10:02 UTC
    No, it isn't (and even if it was, its external input, still tainted).
    perl -le" print for <*.*> "
    `perldoc -f glob'

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

      I read this construct in a post some time ago and figured out it was some cool file input. Next time it's better I read carefully instead of figuring out :)

      Flavio (perl -e "print(scalar(reverse('ti.xittelop@oivalf')))")

      Don't fool yourself.