in reply to Unbalance string table refcount

This is definitely something you should not see. It is a bug. As you didn't indicate your perl version, I cannot say whether it is worth to report as a bug. If it is 5.8, definitely report it.

For the time beging, you can set environment variable PERL_DESTRUCT_LEVEL to 2, see whether it works, usually it does. If not, play with even lower values.

BTW, just in case, this sounds like a good oppotunity for using things like CGI, HTML::Template etc. Did you use those? Update:

Lhamo Latso, I saw your reply to graff, but this is still a Perl bug. Regardless how you use it, Perl destruction process itself should work gracefully. If you are using 5.8, I suggest you to keep a version of your "bad" code, and report this bug.

Replies are listed 'Best First'.
Re: Re: Unbalance string table refcount
by Lhamo Latso (Scribe) on Mar 19, 2003 at 03:37 UTC
    This is version 5.8.0 on RedHat 8.0.

    Actually, I am inside of ModPerl with this code. I have used CGI.pm before, but for this one it seems to be too much overhead. I am assembling this semi-static web page from multiple sources.

    Thanks. I will report the bug.