Syntactic Confectionery Delight | |
PerlMonks |
Re^2: scope of "use strict"? (needed: "superstrict")by argv (Pilgrim) |
on Jul 07, 2005 at 05:31 UTC ( [id://473038]=note: print w/replies, xml ) | Need Help?? |
I don't fully understand why you would want to force modules to be compiled under strictures when they weren't designed to do so. call it, "chasing a hunch." It's not my code I'm debugging, it's someone else's, and while I can easily "fix" some of his programming errors, I'm still trying to determine if those errors are the cause for other erratic problems going on.... like variable stomping, etc. So, I want to leave the errors in place and follow other sources to see what they do, and what the effects are. Note that it's not just determining "if" there's a bug, but finding "who" is doing the stomping? A quick examination of the "use strict" output could yield some instantly obvious results since I have an idea of what I'm looking for. Sometimes, it isn't enough to just fix a bug, it's finding out how far and wide its effects are before its fixed that can reveal other useful info one might not have expected. With some variations on your excellent script, I think I might find the very culprit I'm looking for.
Dan Heller http://www.danheller.com
In Section
Seekers of Perl Wisdom
|
|