Subject: Re: Test::More behavior issue with Devel::Cover + patch
From: Ricardo SIGNES <[EMAIL PROTECTED]>
Date: Thu, 3 Nov 2005 13:14:34 -0500
}* Pete Krawczyk <[EMAIL PROTECTED]> [2005-11-03T12:46:48]
}>
}> The solution I see is to make sure the object can() isa(), thus avoiding
}> the die in the process:
}>
}
}It was using ->isa instead of UNIVERSAL::isa because isa might be
}overridden. Surely the same could apply to ->can.
Well, one of my other approaches was to do:
$SIG{__DIE__} = 'default'
but I didn't feel that was as elegant as the patch I proposed.
I'm not sure what the "best" method is.
-Pete K
--
Pete Krawczyk
petek at ignore dot us