Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Twisted Logic Filling My Logs, w/o Rendering Form

by TOD (Friar)
on May 08, 2008 at 02:59 UTC ( [id://685376]=note: print w/replies, xml ) Need Help??


in reply to Twisted Logic Filling My Logs, w/o Rendering Form

it's hard to tell. does your script
use warnings;
and
use CGI::Carp qw/fatalsToBrowser/;
? maybe they will give you a hint.
--------------------------------
masses are the opiate for religion.

Replies are listed 'Best First'.
Re^2: Twisted Logic Filling My Logs, w/o Rendering Form
by hesco (Deacon) on May 08, 2008 at 03:42 UTC
    Yes, the cgi script itself starts off:

    #!/usr/bin/perl -T use strict; use warnings; use Data::Dumper;
    and liberally sprinkles in print STDERR debug statements. My issue is apparently not a fatal crash, but an endless loop. Its processing each household without rendering the webform for it, after the first one, of course.

    My $self->_render_online_household_form() method is set to return the html for the form, to the $dashboard->_process_list_of_households() method, which also returns the html form to the cgi script which called it. The cgi script is supposed to print that $html if its defined.

    My two modules written to drive this application are also begun with:

    use strict; use warnings;
    Its an old habit by now.

    -- Hugh

    if( $lal && $lol ) { $life++; }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://685376]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-26 02:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found