develooper Front page | perl.perl6.language | Postings from November 2003

RE: Control flow variables

Thread Previous | Thread Next
From:
Dan Sugalski
Date:
November 18, 2003 13:29
Subject:
RE: Control flow variables
Message ID:
Pine.LNX.4.58.0311181633050.7033@sprite.sidhe.org
On Tue, 18 Nov 2003, Austin Hastings wrote:

> This seems excessive, but easily discarded during optimization. On the other
> hand, I don't trust the "last statement evaluated" behavior for loops, since
> the optimizer could very well do surprising things to loop statements.
> (Likewise, however, for scalar control structures.)

This shouldn't be a problem. If there's potential ambiguity then the
optimization can't be applied. Modulo optimizer bugs you'll be fine.

					Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                      teddy bears get drunk


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About