Quoth [EMAIL PROTECTED] ("David Nicol"):
> On Fri, Aug 8, 2008 at 5:41 PM, Ben Morrow <[EMAIL PROTECTED]> wrote:
> > [the interpreter address is] more unique than either pid or
> > tid, and actually reflects 'Perl-level thread of control'.
>
> I'm a little surprised; I thought that the interpreter address would
> remain the same in both processes after a 'nix fork.
Err, yes, it will. I assumed when Ted mentioned $$ he was talking about
Win32's pseudo-fork, which will create a new interpreter with a new
address.
If you want calls to every(5) to only return true once every five times
even across forked processes, your going to need some sort of IPC,
obviously.
Ben
--
Although few may originate a policy, we are all able to judge it.
Pericles of Athens, c.430 B.C.
[EMAIL PROTECTED]