[PATCH] Test::Harness and Devel::Cover combine with overloading to cause infinite recursion in Carp.pm

2005-09-22 Thread demerphq
cause Carp to go into infinite recursion. Also attached is a patch to Carp which will prevent the infinite recursion. (Apparently defined() will trigger the overload, but ref() will not) The combination of Devel::Cover, Test::Harness, overloading and if modifiers cause overloading to be triggered

Re: Infinite recursion

2004-06-30 Thread Paul Johnson
-thread-multi/B/Deparse.pm line 3551. > Deep recursion on subroutine "B::Deparse::find_scope" at > /usr/lib/perl5/5.8.1/i386-linux-thread-multi/B/Deparse.pm line 1317. > > However, nothing seems to be affected - the table is generated by > 'cover'. I'd l

Infinite recursion

2004-06-30 Thread Vsevolod (Simon) Ilyushchenko
Hi, I have tried to run Devel::Cover on my tests that use Test::Unit, and I am getting this after the code is run: Deep recursion on subroutine "B::Deparse::find_scope" at /usr/lib/perl5/5.8.1/i386-linux-thread-multi/B/Deparse.pm line 1317. Deep recursion on subroutine "B::Deparse::dq" at /usr/