A. Pagaltzis skribis 2006-06-18 14:40 (+0200):
> Does Perl 6 have `do BLOCK` like Perl 5? That would make it
> $foo, $bar, do { $baz if $wibble }, $quux
pugs> 1, 2, do { 3 if 0 }, 4
(1, 2, 4)
pugs> 1, 2, do { 3 if 1 }, 4
(1, 2, 3, 4)
Again I have no idea if this empty list is SUPPOSED to happen.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
