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

Re^3: Who's referencing my variables?

by Anonymous Monk
on Apr 01, 2014 at 12:51 UTC ( #1080548=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Who's referencing my variables?
in thread Who's referencing my variables?

Here is how you should have written that

our @objecgts; ## @Foo::objects ... push @objects, weaken $object;

If you're going to do things the fudgy way, do it the easy fudgy way


Comment on Re^3: Who's referencing my variables?
Download Code
Re^4: Who's referencing my variables?
by Anonymous Monk on Apr 01, 2014 at 14:41 UTC
    I guess your implied advice is: go through all the modules (a few dozen) and make all variables 'our', then probe the symbol table. I'm not yet convinced that this is the best approach.

      I guess your implied advice is: go through all the modules (a few dozen) and make all variables 'our', then probe the symbol table. I'm not yet convinced that this is the best approach.

      Its the easiest and most straight forward approach

      Think of it this way -- you wrote leaky code

      The best approach is a complete code review (effort)

      The next best approach is papering over the leaks (minimum effort possible)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2014-07-26 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls