[sf-perl] scalars leaked
Michael Friedman
friedman at highwire.stanford.edu
Mon Apr 25 20:21:15 PDT 2011
I ran into similar problems (though not that particular message) with using threads on perl 5.8.6. After much hair-pulling I gave up on using real threads and installed "forks" from CPAN. It uses the same API as threads, but forks off a new perl interpreter for each one. It's not as fast as using threads would be, but a) it works now and b) I won't have to change the logic when we do finally upgrade to a more modern version of perl. You might want to check it out.
-- Mike
______________________________________________________________________________
Mike Friedman | HighWire Press, Stanford Univ | <friedman at highwire.stanford.edu>
On Apr 25, 2011, at 6:24 PM, David Alban <extasia at extasia.org> wrote:
> On Mon, Apr 25, 2011 at 5:26 PM, Paul Makepeace
> <Paul.Makepeace at realprogrammers.com> wrote:
>> I love retro styles as much as the next bell-bottom wearing hippie but
>> a perl from 2006? Maybe that's your answer... ;-)
>
> not my decision. :-(
>
>> (perl 5.10 fixed a number of memory leaks including the ones involving
>> closures & threads which this I think is.)
>
> thanks.
>
> --
> Live in a world of your own, but always welcome visitors.
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
More information about the SanFrancisco-pm
mailing list