scope of variables in &callback

[email protected] (John Saylor) Wed, 17 Oct 2001 17:49:22 -0400
Newsgroups perl.loop
Message-ID <[email protected]>
Hi

This is a question I *think* I know the answer to, but I'm not sure.

I have an event loop with 3 watchers of the timer flavor. The watchers
all point to the same function for their callback. There are variables
scoped to the function with 'my'. There is a value that is passed in
with the private method. This value is assigned to a variable within
&callback.

And now here's the questions:
Can all 3 instances of &callback keep and maintain separate values for
this variable [assigned via each watcher's private method]?

Is this clear?

-- 
\js