Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Just another Perl shrine
 
PerlMonks  

Re: Re: Re: CGI && tables nested within tables.

by chipmunk (Parson)
on Jan 02, 2001 at 18:42 UTC ( [id://49352]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Re: CGI && tables nested within tables.
in thread CGI && tables nested within tables.

Yes, you can run your script from the command line to see what output it produces, including the HTTP headers which the browser doesn't show you. Something like: `perl -wT foo.cgi`. Use -c to make sure the script compiles, then leave it off to see what output you get.

Because CGI scripts get their input from the environment and standard input, you can run your script from the command line with all the data it would get from the web server. For example, you can set QUERY_STRING in your shell's environment to 'id=7&name=bob'.

The CGI module provides a debug mode when run under the shell to make this easier. Run the script from the shell, and you can include parameters and values on the command line or pass them through standard input. (See the DEBUGGING section of the manpage for more details.)

  • Comment on Re: Re: Re: CGI && tables nested within tables.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://49352]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.