Aaron Sherman skribis 2005-04-26 16:40 (-0400):
> Is there ever a reason for a leading adverb in a statement or control
> structure?
List of pairs and left-to-right writing:
:foo<bar>, :quux<xyzzy> ==> map { ... } ==> my @baz;
> or you could have a keyword that introduces the label:
> rx/label <ws>+ <identifier> <ws>+ (<statement>|<control>)/
> or you could use some kind of trickery:
> rx/label : $/
Or make it a macro.
label<foo>; for 1... {
...
}
Or an object
my $foo = for 1... {
$foo.next;
next $foo:;
}
Or just add quotes (yes, please) and keep the colon:
"foo": for 1... {
next "foo";
}
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html