|P is for Practical|
globby BooK (Curate)
|on Jan 24, 2001 at 14:29 UTC||Need Help??|
BooK has asked for the
wisdom of the Perl Monks concerning the following question:
This is maybe not the best place to ask this question... Anyway,
I noticed a big difference between perl 5.005_03 and 5.6.0... glob behaves quite differently under -T
Try this one-liner:
according to perlsec, this is perfectly normal, and I don't complain... After all, in Perl under 5.6 this was done thanks to a subshell.
But now try this one:
Well, in Perl 5.6, it is done with File::Glob, so why not.
But if you check in Amelia (page 727), you'll see that it's not the way glob should behave. You'll also notice glob is not in the list of taintedness examples page 560...