hello…
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..
hello…
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..
use HTTP::Request::Common qw(POST);
use HTTP::Request::Common qw(GET);
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…
You should use the CGI module. Both POST and GET vaiables are accessible via the param method. Something like:
use CGI;
$q = new CGI;
my $value = $q->param(‘my_parameter_bame’);