http://www.perlmonks.org?node_id=405685


in reply to Re^2: How do I find out which variables I'm not using?
in thread How do I find out which variables I'm not using?

I agree with your sentiments on strict.

I often test things like regexes from the commandline before adding to application code. I always include warnings and strictures in these tests:

perl -we 'use strict; ...'

Whenever I fiddle with these in a script or module, I tend to go into blatently-obvious-defensive-progamming mode:

NO_ONCE_ONLY_WARNINGS_ZONE: { no warnings qw(once); . . . use warnings qw(once); }

I am often told this is overkill: usually by people that do a lot more debugging than me :-)

Regards,

PN5