note
rob_au
While not as absolute as a <code>taint</code> pragma, the [cpan://Taint] module offers the ability to introduce taint checkpoints in your code. For example:<p>
<dl><dd><code>
use Taint;
warn "Oops" if tainted $num, @ids;
kill $num, @ids;
</code></dd></dl><p>
While not as encompassing as a <code>taint</code> pragma, these checkpoints, if placed correctly can tighten up your code without invoking the entire script with the <code>-T</code>. The use of this module however does require some forethought and understanding of tainted data and identification of vunerable execution points within your code.
<p> <p>
<tt><font size="-1">perl -e 's&&rob@cowsnet.com.au&&&split/[@.]/&&s&.com.&_&&&print'</font></tt>
150612
150626