On Wed, May 13, 2009 at 01:59, John W. Krahn <[email protected]> wrote:
snip
>> What's your point?
>
> I am trying to understand what point you are trying to make.
snip

I believe the point is that declaration is only one of the things my
does, so saying that "my() happens when the code is compiled so it is
*not* re-run every time through the loop." is very wrong.  my runs
every time through the loop creating a new variable each time (as
demonstrated by my code and benchmark).

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to