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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How do I find out which variables I'm not using?
by Aighearach (Initiate) on Nov 06, 2004 at 03:07 UTC | |
by Prior Nacre V (Hermit) on Nov 06, 2004 at 04:35 UTC |