[sf-perl] 100 levels deep in subroutine calls!
Loo, Peter # PHX
Peter.Loo at source.wolterskluwer.com
Tue Jun 19 09:38:37 PDT 2007
Because I was getting a core dump right when the program attempted to
connect at this very STEP, I wanted to see all the values of the
variables so I was STEPPING through each row surrounding this
From: Randal L. Schwartz [mailto:merlyn at stonehenge.com]
Sent: Tuesday, June 19, 2007 9:35 AM
To: Loo, Peter # PHX
Cc: San Francisco Perl Mongers User Group
Subject: Re: [sf-perl] 100 levels deep in subroutine calls!
>>>>> "Loo," == Loo, Peter # PHX <Peter.Loo at source.wolterskluwer.com>
Loo,> Is this strictly a Perl debug error message or is this a generic
Perl Loo,> error message? Is there a way around this limitation? I saw
something Loo,> while searching on the Internet about setting the
$DB::deep to a higher Loo,> number.
Why are you recursing on every line? Can you flatten your call stack?
Perhaps by gathering all the data first, then acting on it, rather than
acting on it as you see each line.
I've *never* hit the nested-100-deep limit except by accident (or
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777
0095 <merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl
This E-mail message is for the sole use of the intended recipient(s) and
may contain confidential and privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If you are not
the intended recipient, please contact the sender by reply E-mail, and
destroy all copies of the original message.
More information about the SanFrancisco-pm