I dunno jryan,
As a matter of readability and sanity, I'd pass the variable as an argument and taint-check as neccessary. Or use constants. Do you have an example where constants or untainting globals as arguments are not the best way to go?
Just curious as to practical use. Nice bit of code though :)
.02
cLive ;-)
In reply to Re: Protect your subs... from *EVIL*.
by cLive ;-)
in thread Protect your subs... from *EVIL*.
by jryan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |