Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask


by formerly_chris2 (Novice)
on Jun 27, 2001 at 12:28 UTC ( #91855=perlquestion: print w/replies, xml ) Need Help??

formerly_chris2 has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks,

I beg of your help with this confusing perl error, panic: POPSTACK, I have looked through all the docs, searched deja and perlmonks, and still cannot find any real information on it. Basically, it causes one of our scripts to die with the above mentioned error, but it doesn't identify a line number or anything other than "panic: POPSTACK". This script must be able to run for extended period of time without crapping out on untrappable errors. Has ANYONE heard of this panic: POPSTACK error and could you PLEASE explain what it is?

Thanks in advance,

Replies are listed 'Best First'.
Re: panic: POPSTACK
by Beatnik (Parson) on Jun 27, 2001 at 12:38 UTC
    perldiag doesn't mention panic: POPSTACK, but apparently it's a bug found in older versions of Perl (as in Perl 5.005). Version 5.6.0 and upwards have it fixed.

    ... Quidquid perl dictum sit, altum viditur.
Re: panic: POPSTACK
by azatoth (Curate) on Jun 27, 2001 at 12:37 UTC
Re: panic: POPSTACK
by mattr (Curate) on Jun 27, 2001 at 16:32 UTC

    It would be useful if you could post your code, or provide a link to it (as a .txt file).

    I have not come across this myself although it seems like it would happen if you are doing something pathological (meant in a good way :). If you can figure out where this problem is happening (chop you script up into bits, put print statements into it, comment out code etc.) this will help us help you more quickly. Or maybe you will see the answer right away. Especially if you are doing anything you aren't sure about, or that might be putting heavy demands on the system (recursion, tons of arguments, whatever).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://91855]
Approved by root
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (1)
As of 2020-10-25 23:37 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (249 votes). Check out past polls.