Perl: the Markov chain saw | |
PerlMonks |
Re: "one tainted value taints the whole expression"by pjf (Curate) |
on Oct 15, 2008 at 09:19 UTC ( [id://717159]=note: print w/replies, xml ) | Need Help?? |
Please report this as a bug using the perlbug command. The documentation and behaviour don't match, and therefore one or both needs to be fixed. Based upon a glance over the code, I'd say that it's Perl that needs fixing; if this behaviour of the ternary operator is documented, and it works some of the time, then it's probably perl that needs fixing, with a note in the documentation that the ?: operator may fall down with more complex expressions.
Paul Fenwick Perl Training Australia
In Section
Seekers of Perl Wisdom
|
|