Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 examining the Monastery: (15)
As of 2015-03-27 21:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (620 votes), past polls