|
|
Choosing A Webhost: |
Re: [Boston.pm] Recursion Problem: msg#00053lang.perl.perl-mongers.boston
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> |
|---|---|---|
| Previous by Date: | Re: [Boston.pm] Recursion Problem, Uri Guttman |
|---|---|
| Next by Date: | Re: [Boston.pm] Recursion Problem, David Cantrell |
| Previous by Thread: | Re: [Boston.pm] Recursion Problem, Uri Guttman |
| Next by Thread: | Re: [Boston.pm] Recursion Problem, John Tsangaris |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive 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 |