diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-06-03 07:58:10 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-06-03 07:58:10 +0000 |
commit | 6670e5e7b286c73a0b574b82775e6e4a452e6dcc (patch) | |
tree | 2a37f69d5e3e07f3a28190c039160f6b9b50b052 /pod/perlfaq9.pod | |
parent | c1c0c2581328c232f98302e238b82c87a001be0b (diff) | |
download | perl-6670e5e7b286c73a0b574b82775e6e4a452e6dcc.tar.gz |
FAQ sync
p4raw-id: //depot/perl@24684
Diffstat (limited to 'pod/perlfaq9.pod')
-rw-r--r-- | pod/perlfaq9.pod | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/pod/perlfaq9.pod b/pod/perlfaq9.pod index 0dd6f1ea3b..1a40c3beae 100644 --- a/pod/perlfaq9.pod +++ b/pod/perlfaq9.pod @@ -1,6 +1,6 @@ =head1 NAME -perlfaq9 - Networking ($Revision: 1.19 $, $Date: 2005/01/21 12:14:12 $) +perlfaq9 - Networking ($Revision: 1.21 $, $Date: 2005/04/22 19:04:48 $) =head1 DESCRIPTION @@ -16,9 +16,8 @@ a program ("CGI script") and a web server (HTTPD). It is not specific to Perl, and has its own FAQs and tutorials, and usenet group, comp.infosystems.www.authoring.cgi -The original CGI specification is at: http://hoohoo.ncsa.uiuc.edu/cgi/ - -Current best-practice RFC draft at: http://CGI-Spec.Golux.Com/ +The CGI specification is outlined in an informational RFC: +http://www.ietf.org/rfc/rfc3875 Other relevant documentation listed in: http://www.perl.org/CGI_MetaFAQ.html @@ -366,19 +365,19 @@ parses the input and makes each value available through the C<param()> function. use CGI qw(:standard); - + my $total = param( "price" ) + param( "shipping" ); - + my @items = param( "item ); # multiple values, same field name - + If you want an object-oriented approach, CGI.pm can do that too. use CGI; - + my $cgi = CGI->new(); - + my $total = $cgi->param( "price" ) + $cgi->param( "shipping" ); - + my @items = $cgi->param( "item" ); You might also try CGI::Minimal which is a lightweight version |