Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Memory leaks and reference counting within Perl.

by matra555 (Monk)
on Jan 06, 2005 at 08:14 UTC ( #419833=note: print w/ replies, xml ) Need Help??


in reply to Memory leaks and reference counting within Perl.

Hey DK.

Total shot in the dark here, but...perhaps Data::Dumper might be of some help?

UPDATE: with total credit to castaway, here's this answer

'using data::dumper or print after your loop, you would have noticed that $hash_ref is empty'


Comment on Re: Memory leaks and reference counting within Perl.
Re^2: Memory leaks and reference counting within Perl.
by davido (Archbishop) on Jan 06, 2005 at 08:29 UTC

    Total shot in the dark here, but...perhaps Data::Dumper might be of some help?

    Not unless you have some need to dump the datastructure. Doesn't have much to do with the question of lexical scoping, reference counts, and garbage collection though.


    Dave

      Well there is the point that using a module such as Data::Dumper or Data::Dump::Streamer (with the former in Purity() mode) you would at least readily notice any cyclic references in the data structure.

      ---
      demerphq

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2014-12-20 10:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls