[sf-perl] 100 levels deep in subroutine calls!

Josh Berkus josh at agliodbs.com
Tue Jun 19 10:33:16 PDT 2007


Peter,

>   DB<19> c
> main::sub_exit(/usr/local/apps/common/devl/bin/GlobalRoutines.pm:551):
> 551:        print STDERR "***** sub_exit() begins. *****\n\n";
> 100 levels deep in subroutine calls!
>
> Is this strictly a Perl debug error message or is this a generic Perl
> error message? 

This is an error message.  You've somehow entered the land of inifinite 
recursion.  It's possible that this is due to a DBI driver bug, but more 
likely it's a bug in your own code.  Look for subroutines which call 
themselves.

-- 
Josh Berkus
PostgreSQL @ Sun
San Francisco


More information about the SanFrancisco-pm mailing list