Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Infinite recursion in CGI::Pretty ?

by scollyer (Sexton)
on Oct 06, 2005 at 18:28 UTC ( [id://498014]=perlquestion: print w/replies, xml ) Need Help??

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

I've recently upgraded to CGI.pm 3.11 and some previously working code has broken due to apparently infinite recursion in CGI::Pretty.

The culprit is CGI::Pretty::_prettyPrint, which seems to recursively chop up its HTML, with no apparent bug that I can see after stepping through it a bit with the debugger.

Anyone else seen this before/fixed it ?

Steve Collyer

Replies are listed 'Best First'.
Re: Infinite recursion in CGI::Pretty ?
by jkeenan1 (Deacon) on Oct 07, 2005 at 20:34 UTC
    1. Could you post some of the offending code? When you say "has broken", do you mean that you get an unending stream of error messages? (If so, please post a sample.) Or that you go on infinite hold? (In which case, there's nothing to post.)

    2. Try going to the CPAN page for CGI.pm and use the 'diff' tool to see if there are any differences for _prettyPrint() between the version you were previously using and 3.11.

    3. CGI::Pretty is part of the CGI.pm distribution. If this bug had been observed previously, in principle it should have been reported to the rt.cpan.org page for CGI.pm, namely, http://rt.cpan.org/NoAuth/Bugs.html?Dist=CGI.pm. If not, that's where you should report it.

    HTH

    Jim Keenan

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://498014]
Approved by Corion
Front-paged by Tanktalus
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-23 07:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found