On Tue, Feb 13, 2007 at 11:44:01AM +0200, Allison Randal wrote: > Why the reversed order of arguments from Test::Builder.skip?
Well, it's not reversed from Perl 5's Test::Builder =item B<SKIP: BLOCK> SKIP: { skip $why, $how_many if $condition; ...normal testing code goes here... } > It seems that: > skip(5, 'lengthy message about reasoning') > > is more readable than: > > skip('lengthy message about reasoning', 5) I agree. I believe that I've made this mistake before in writing tests in Perl 5. > Is the assumption that skipping a single test with a message is more > common than skipping a number of tests without a message? This is my guess too. Probably need to as Schwern to find out the original (Perl 5) reason. Nicholas Clark