in reply to How do I tell if strict, taint, etc are on?

the variables following state if they are on:

${^TAINT} $^W # Warnings

for those who are searching and find this, take a look at Perl Special Variables Quick Reference

Replies are listed 'Best First'.
Re^2: How do I tell if strict, taint, etc are on?
by ikegami (Patriarch) on Mar 16, 2006 at 22:01 UTC
    Not quite:
    use warnings; print($^W, "\n"); # 0 XXX
Re^2: How do I tell if strict, taint, etc are on?
by barrachois (Pilgrim) on Mar 16, 2006 at 20:22 UTC
    Thanks; that helps. I feel foolish for missing that on the perlvar page.