Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^3: Postpone garbage collection during a child process run?

by BrowserUk (Pope)
on Oct 06, 2010 at 16:54 UTC ( #863833=note: print w/replies, xml ) Need Help??

in reply to Re^2: Postpone garbage collection during a child process run?
in thread Postpone garbage collection during a child process run?

(Hate to be the bearer of bad news,

Then just stop!

particularly the BUGS AND LIMITATIONS and the SEE ALSO sections.
  • Bugs and limitations amount to:
    • share( <hashref>!<arrayref>) unituatively empties the structure being shared.

      Now fixed by the provision of shared_clone().

    • splice doesn't operate on shared arrays.

      Big deal, not!

    • Taking a ref to a shared structure elements doesn't autovivify.

      Many people wish that Perl didn't autovivify so readily anyway. Again No big deal.

    • refaddr() reports the thread local alias address, not the that of the principle.

      Use IsShared() to obtain a cross-thread usable identifier.

    • each can produce incorrect results when run against nested hashrefs.

      Make a local copy the the hashref and run each on that. Simple.

  • See also contains nothing but a list of useful links.

    So why make it sound like it contains a government health warning?

A few limitations, with solutions. No big deal.

And all aimed at someone who didn't mention threads and isn't using them. Stop jumping on bandwagons that you don't understand!

Have you actually written any threaded perl code?

Because your pronouncements on the subject show little or no understanding of the real issues involved.

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://863833]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2018-03-17 19:26 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (225 votes). Check out past polls.