On Wed, May 13, 2009 at 01:59, John W. Krahn <jwkr...@shaw.ca> 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: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/