tarunkhanna has asked for the wisdom of the Perl Monks concerning the following question:

I am able to access values of x and y through
use CGI qw(:standard); use CGI::Carp qw(warningsToBrowser fatalsToBrowser); use strict; my %form = (); print header; print title("Get Form"); print start_html(); print start_form(-method=>'GET',-action=>"abc.cgi?tarun=7&varun=8"); foreach my $p (param()) { print "$p<br>\n"; $form{$p} = param($p); print "$p = $form{$p}<br>\n"; } print submit; print end_form; print end_html;
But I want to modify this statement
print start_form(-method=>'GET',-action=>"abc.cgi?x=7&y=8");
in a way that it calls url with value of x = 7 and y = 8

If I replace word GET with POST, then also it doesn't give proper results on pressing submit button.