Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

"What you describe is not what happens."

So you are calling me a liar?

"You have a subroutine which triggers some action at a distance, namely, cleaning out a hash."

Did I ever say this?   No!

The top most subroutine does creation, modification, and destruction! All subroutines called use the hash for reference only. The subroutines use it to build html only. A static, read-only hash should not disappear!

Your assumptions are just that -- ASSumptions.

You want what I would like to have, a very small script that produced the problem. Life should be so simple.

Perl has no processes running asynchronously to your program. There is no "garbage collection" process, and memory allocated to Perl data structures is only released when there is nothing more (in Perl space) referencing it.

Thank you, I now can rule out 'processes running asynchronously'. You have finally said something of merit.

Note: I have tried to ask intelligent, courteous and accommodating questions to this qroup. I don't know what I did to have such an aggressive response, maybe some-one is having a "bad hair day", but please if you don't understand the question, or you can't grasp the complexity of the problem, just don't respond!

20101011 Janitored by Corion: Closed bold tag, as per Writeup Formatting Tips


In reply to Re^4: Postpone garbage collection during a child process run? by flexvault
in thread Postpone garbage collection during a child process run? by flexvault

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others imbibing at the Monastery: (6)
    As of 2014-07-26 06:02 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My favorite superfluous repetitious redundant duplicative phrase is:









      Results (175 votes), past polls