Subject: | bag of methods induces deep recursion |
The following test program (run in perl v5.8.5 on a recent Red Hat linux) ----------
use Test::Deep;
my @methods=(methods(hello=>'world'),methods(goodbye=>'world'));
my $bag_o_methods=bag(@methods);
----------
fails with the error message
Deep recursion on subroutine "Test::Deep::descend" at /users/ngoodman/local/lib/perl/Test/Deep/Blessed.pm line 27.
Deep recursion on subroutine "Test::Deep::descend" at /users/ngoodman/local/lib/perl/Test/Deep/Cmp.pm line 136.
Deep recursion on subroutine "Test::Deep::Cmp::compare" at /users/ngoodman/local/lib/perl/Test/Deep.pm line 244.
Thanks,
Nat Goodman