On Fri, Apr 26, 2002 at 10:29:58AM -0400, Aaron Sherman wrote: > On Thu, 2002-04-25 at 18:20, Damian Conway wrote: > > Miko O'Sullivan wrote: > > > > before { ... } # run before first iteration, > > > # only if there is at least one iteration > > > > Larry is still considering allowing a C<FIRST> block that would do this. > [...] > > This will be called a C<NEXT> block. It goes inside the loop block. > [...] > > This will be called a C<LAST> block. It goes inside the loop block. > [...] > > C<else> blocks to accomplish this. > > This bothers me. Traditionally, all-caps keywords in Perl have indicated > compile-time constructs that may relate only loosely to the code around > them (e.g. BEGIN, END).
Actually all-caps keywords in Perl have indicated code blocks that perl will call implicitly: TIEHASH TIEARRAY STORE FETCH etc Which seems to fit well enough with the perl6 usage. Tim.