Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: [Boston.pm] Recursion Problem: msg#00053

lang.perl.perl-mongers.boston

Subject: Re: [Boston.pm] Recursion Problem

On Thu, Oct 26, 2006 at 11:29:41AM -0500, developer wrote:
> I'm researching an error that reports: "Deep recursion on subroutine ..."
>
> I've not been able to figure out when (at what level) this warning is
> actually displayed. I have a test sub that recurses to the 100,000th
> level, but have not been able to force the warning. A copy of the prog
> in production displayed this warning in the log though, and while it's
> possible, it's not plausible that this program actually recursed that
> far. Typical recursions are in the low 10s.
>
> Does anyone have experience with debugging this? Any documentation that
> explains deep recursion warnings?

perldoc perldiag:

Deep recursion on subroutine "%s"
(W recursion) This subroutine has called itself (directly or
indirectly) 100 times more than it has returned. This probably
indicates an infinite recursion, unless you're writing strange
benchmark programs, in which case it indicates something else.

It works as described for me. Perhaps your test sub isn't doing what you
think it's doing, or perhaps you forgot to turn on warnings?

Ronald


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe