Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: How to extract a form data in cgi perl

by thomas895 (Deacon)
on May 03, 2012 at 00:16 UTC ( [id://968592]=note: print w/replies, xml ) Need Help??


in reply to How to extract a form data in cgi perl

There is no CGI->html() function, as far as I know. You would have to do what Sinistral did, with sending headers and the complete HTML document. Also, when writing web applications, a good tip is to use CGI::Carp, like so:

use strict; use warnings; use CGI::Carp qw( fatalsToBrowser ); #Comment out when you release. use CGI; my $q = new CGI; print $q->header( "text/html" ), $q->start_html( "Status" ), $q->h1( "Status is ". $q->param( "StatusFilterSelect" ) ), $cgi->end_html();
~Thomas~ I believe that the source code to life is written in Perl :-)

Log In?
Username:
Password:

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

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

    No recent polls found