Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Open Source > Perl
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Perl section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 20th, 2007, 06:28 AM
Authorized User
 
Join Date: Jan 2007
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default get and post methods in perl

how can we use get and post methods in perl?
i was searching for both get and post methods in perl
but i m not getting a satisfactory and complete explanation of these methods.
can anybody explain me the functionality of these methods along with sample codes so
tht i can understand !!!!!!!!!!!!!!
 
Old February 21st, 2007, 08:33 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

Code:
use CGI;
my $cgi = new CGI;
$formfield = $cgi->param("postedformfieldname");
print "$formfield\n";
does that answer your question?

www.crmpicco.co.uk
www.ie7.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Static methods spinjob BOOK: Professional C++ 7 March 12th, 2009 02:16 PM
METHODS magagulad Java GUI 3 May 15th, 2007 12:53 PM
using perl send data via "post" to a php web page robprell Perl 1 May 14th, 2007 05:57 AM
Dispose() methods bpevangelista BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 2 May 12th, 2007 11:15 PM
Virtual Methods CodePinkDeb C# 2005 4 April 29th, 2006 08:17 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.