Subject: | Test::More subtest function has gratuitous prototype |
Date: | Wed, 3 Feb 2010 05:33:14 +0000 |
To: | bugs-Test-Simple [...] rt.cpan.org |
From: | Matt S Trout <mst [...] shadowcat.co.uk> |
Given an & in anything but the first position doesn't provide any syntactic
sugar, the subtest() prototype seems pointless. it also breaks
my $subtest = sub { ... };
subtest foo => $subtest;
instead requiring the uglier (and rarely seen these days)
subtest foo => \&subtest;
syntax. I ... I don't see the point. If there's a point I'm missing, could
you enlighten me?
--
Matt S Trout Catalyst and DBIx::Class consultancy with a clue
Technical Director and a commit bit: http://shadowcat.co.uk/catalyst/
Shadowcat Systems Limited
mst (@) shadowcat.co.uk http://shadowcat.co.uk/blog/matt-s-trout/