On 6/28/05, Michael G Schwern <[EMAIL PROTECTED]> wrote:
> On Mon, Jun 27, 2005 at 11:34:58PM +0100, Fergal Daly wrote:
> > Forgetting philosphical arguments about what's the right thing to do,
> > I think the strongest point against this is that there may be people
> > out there who expect the current behaviour
> 
> The current behavior is to vomit all over the user's lap.  Some people
> might enjoy this.  Whatever floats your boat. ;P
> 
> $ perl -wle 'use Test::More tests => 1;  is_deeply( sub { 42 }, sub { 42 } )'
> 1..1
> WHOA!  No type in _deep_check
> This should never happen!  Please contact the author immediately!
> # Looks like your test died before it could output anything.

That's only 2 months old (according to CPAN) before that it would have
just failed or passed (failed in this case). Is it in bleadperl? I'd
be amazed if no one anywhere was using is_deeply with coderefs.

F

Reply via email to