arunkumar — 2005-07-18T06:25:24-04:00 — #1
I have been worked in PHP in PHP we just use $post variables to get the value of the post data.
When i came to PERL how can i pass the form data and get in the passed page.
please give me one example for POST and GET..
momos — 2005-07-18T06:53:43-04:00 — #2
use HTTP::Request::Common qw(POST);
use HTTP::Request::Common qw(GET);
arunkumar — 2005-07-18T06:59:59-04:00 — #3
thank you momos i get you please tell me where to use this and how to use i am new to perl please tell me...
expecting your help...
momos — 2005-07-18T07:55:39-04:00 — #4
redbone — 2005-07-19T23:46:21-04:00 — #5
You should use the CGI module. Both POST and GET vaiables are accessible via the param method. Something like:
$q = new CGI;
my $value = $q->param('my_parameter_bame');