An important distinction.  Thanks.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Tom Phoenix
Sent: Tuesday, February 28, 2006 3:21 PM
To: Timothy Johnson
Cc: beginners@perl.org
Subject: Lifetime of my() variables

On 2/28/06, Timothy Johnson <[EMAIL PROTECTED]> wrote:

> If you declare a variable with my(), it only exists within the current
> scope

Not to be too picky, but it's more accurate to say that it's the
variable's *name* that's restricted to the given scope. 

<snip>


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to