As Fletch notes, turning off use warnings; won't suppress things emitted via warn or carp.
However, if you want your warn statements to respect lexically scoped warnings, you can use warnings::warnif instead.
In reply to Re: Things I don't understand about 'use warnings'
by friedo
in thread Things I don't understand about 'use warnings'
by mojodaddy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |