Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: cgi page calling another cgi when submitting form but does not returns error only to web server log and not to browser.

by perlfan (Vicar)
on Jul 02, 2014 at 12:02 UTC ( [id://1091972]=note: print w/replies, xml ) Need Help??


in reply to cgi page calling another cgi when submitting form but does not returns error only to web server log and not to browser.

It's already been said, use a modular code organization. I would not use old style CGI. If you are stuck in a CGI type of environment, so called "modern" Perl web frameworks are a pain in the ass for this kind of constraint.

If you are transitioning from CGI to modernity, then I would recommend looking at CGI::Application. I still use it and it works well in many situations. However, it is not persistent. This shouldn't matter to you at this point.

CGI::Application encourages modularity and introduces you to a sane way to manage a request life cycle. Once you cut your teeth there, then you can look at the plethera of frameworks out there.

  • Comment on Re: cgi page calling another cgi when submitting form but does not returns error only to web server log and not to browser.

Log In?
Username:
Password:

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

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

    No recent polls found