Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^2: scope of "use strict"? (needed: "superstrict")

by argv (Pilgrim)
on Jul 07, 2005 at 05:31 UTC ( #473038=note: print w/replies, xml ) Need Help??

in reply to Re: scope of "use strict"? (needed: "superstrict")
in thread scope of "use strict"? (needed: "superstrict")

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.

  • Comment on Re^2: scope of "use strict"? (needed: "superstrict")

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://473038]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2020-09-18 23:02 GMT
Find Nodes?
    Voting Booth?
    If at first I donít succeed, I Ö

    Results (113 votes). Check out past polls.