----- Original Message ----
> From: Paul Johnson <[email protected]>
>
> One question though. Why
>
> subtest "text", sub {};
>
> rather than
>
> subtest {}, "text";
>
> ?
>
> The latter seems more consistent as well as removing a rather annoying bit of
> syntax. Were you worried that "text" might get lost at the end of the sub?
I would prefer the 'subtest {}, "text"' syntax, but you're right, the concern
is the text getting lost at the end. It's especially bad if you have a really
long block of tests in your subtests.
In any event, it's in Schwern's hands now :)
Cheers,
Ovid
--
Buy the book - http://www.oreilly.com/catalog/perlhks/
Tech blog - http://use.perl.org/~Ovid/journal/
Twitter - http://twitter.com/OvidPerl
Official Perl 6 Wiki - http://www.perlfoundation.org/perl6