Adrian Howard wrote:
>
> On 29 Mar 2007, at 10:02, David Cantrell wrote:
>
>> Michael G Schwern wrote:
>>
>>> Its for the case where you're subclassing a class which does not have
>>> a .pm
>>> file.
>>
>> "So don't do that then"
>
> Why not - it's bloody useful?
Ya know, I had written exactly
On 29 Mar 2007, at 10:02, David Cantrell wrote:
Michael G Schwern wrote:
Its for the case where you're subclassing a class which does not
have a .pm
file.
"So don't do that then"
Why not - it's bloody useful?
Adrian
Michael G Schwern wrote:
Its for the case where you're subclassing a class which does not have a .pm
file.
"So don't do that then"
--
David Cantrell
Fergal Daly wrote:
>> Oh, I see what it is. Funny, I just fixed this exact problem in
>> aliased.pm.
>> http://rt.cpan.org/Public/Bug/Display.html?id=25293
>>
>> Its base.pm.
>>
>> local $SIG{__DIE__};
>> eval "require $base";
>>
>> Test::Builder::Module is loaded which loa
On 29/03/07, Michael G Schwern <[EMAIL PROTECTED]> wrote:
Chris Dolan wrote:
> On Mar 28, 2007, at 8:18 AM, Ovid wrote:
>
>> The second test dies but this is ignored. Change My::Test::More to
>> Test::More and the failure is correctly reported. What did I miss in
>> My::Test::More?
>
> If you a
--- Michael G Schwern <[EMAIL PROTECTED]> wrote:
> Oh, I see what it is. Funny, I just fixed this exact problem in
> aliased.pm.
> http://rt.cpan.org/Public/Bug/Display.html?id=25293
>
> Its base.pm.
>
> local $SIG{__DIE__};
> eval "require $base";
>
> Test::Builder::Mo
# from Michael G Schwern
# on Wednesday 28 March 2007 08:31 pm:
>Its base.pm.
>
> local $SIG{__DIE__};
> eval "require $base";
>
>Test::Builder::Module is loaded which loads Test::Builder which
> instantiates a __DIE__ handler which is localized and thrown out.
Hey, that is
Chris Dolan wrote:
> On Mar 28, 2007, at 8:18 AM, Ovid wrote:
>
>> The second test dies but this is ignored. Change My::Test::More to
>> Test::More and the failure is correctly reported. What did I miss in
>> My::Test::More?
>
> If you add a "print $SIG{__DIE__}" before the first "ok", you'll s
On Mar 28, 2007, at 8:18 AM, Ovid wrote:
The second test dies but this is ignored. Change My::Test::More to
Test::More and the failure is correctly reported. What did I miss in
My::Test::More?
If you add a "print $SIG{__DIE__}" before the first "ok", you'll see
that with Test::More it's a
Ovid wrote:
> The second test dies but this is ignored. Change My::Test::More to
> Test::More and the failure is correctly reported. What did I miss in
> My::Test::More?
I'm not sure. The __DIE__ handler isn't being triggered to detect that you
died. Might be a Perl bug.
Test::Builder needs t
Here's the minimal test case:
use lib 't/lib';
use My::Test::More 'no_plan';
sub foo {
die 'some problem' if @_;
return 1;
}
ok foo(), 'this lives';
ok foo(1), 'this dies';
And My::Test::More (a stripped down version of
http://use.perl.org/~Ovid/journal/32614):
packa
11 matches
Mail list logo