On 2011.3.31 10:00 AM, Michael Ludwig wrote:
>> Took me a moment to understand that. Would this cover your need?
>>
>> result_like shift @$results, {
>> ...
>> };
>
> That's very good! But does it mess with $history's results directly?
> Or does $history->result return a shallow c
[resending from correct address]
Michael G Schwern schrieb am 30.03.2011 um 10:37 (+1100):
> (moving this to perl-qa because we decided to retire test-users)
Yeah, I noticed only after sending the mail to the test-users list.
> > I like a nice function syntax that doesn't require a lot of
> > pu
Buddy Burden schrieb am 30.03.2011 um 11:25 (-0700):
> On Wed, Mar 30, 2011 at 5:58 AM, Ovid wrote:
> >> perl -le 'use Test::More tests => 2; ok(1) or die; ok(1);'
> >> perl -le 'use Test::More tests => 2; ok(0) or die; ok(1);'
> Plus, with the "or die" approach, you can only mimic Test::Most's
On Wed, Mar 30, 2011 at 5:58 AM, Ovid wrote:
>
>> From: Jozef Kutej
>> To: perl-qa@perl.org
>> Sent: Wed, 30 March, 2011 7:54:21
>> Subject: Re: Conditional tests - SKIP, die, BAILOUT
>> :
>> :
>> perl -le 'use Test::More tests => 2; ok(1) or die; ok(1);'
>> perl
> From: Jozef Kutej
> To: perl-qa@perl.org
> Sent: Wed, 30 March, 2011 7:54:21
> Subject: Re: Conditional tests - SKIP, die, BAILOUT
>
> On 2011-03-29 23:05, Michael Ludwig wrote:
> >> Perhaps the 'bail_on_fail' or 'die_on_fail' functions from Test::Most
> >> would