[sf-perl] scalars leaked

David Alban extasia at extasia.org
Tue Apr 26 12:21:53 PDT 2011


i'm using ssh to gather data from up to hundreds of servers.  before
threads, i forked and exec'd and communicated the results back to the
parent via tmp files (performance wasn't an issue).  what threads (and
"forks" a la mr. friedman's suggestion) buy me is simplicity.  i
suppose i could look into some of the ipc modules, but geez, threads
(forks) make things simple.

On Tue, Apr 26, 2011 at 11:50 AM, Quinn Weaver <quinn at fairpath.com> wrote:
> I agree with the recommendation to upgrade Perl, but, if that's a
> policy decision that you can't change, could do what you want using
> processes instead of threads?

-- 
Live in a world of your own, but always welcome visitors.


More information about the SanFrancisco-pm mailing list