develooper Front page | perl.perl5.porters | Postings from November 1999

cloning (was Re: This Week on perl5-porters (15--21 November 1999) )

Thread Next
From:
M.J.T. Guy
Date:
November 26, 1999 09:19
Subject:
cloning (was Re: This Week on perl5-porters (15--21 November 1999) )
Message ID:
E11rP27-0003Sm-00@taurus.cus.cam.ac.uk
Gurusamy Sarathy <gsar@ActiveState.com> wrote
> For example, when starting a thread at a specific subroutine, it is
> only necessary to clone data that is "reachable" from that subroutine.
> (If you clone just the CV, this is what you'd get.)

But the "reachable" data presumably includes all global data, and,
if you think about eval "", perhaps used in some subroutine called
from the one being cloned, potentially much lexical data as well.

So I don't really understand how this works in practice.


Mike Guy

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About