I want to know how to pass input parameter to perl cgi . I have a flex application, it will take name and some other details of a person, then i want to call a perl cgi with these details as input. How it's possible? Is appending parameter at the end of url eg:http://localhost/cgi-bin/test.pl?name=abc&location=adsas
,the only method to pass parameter to perl cgi?
How can i get passed parameter inside perl cgi?
I have tried this code but didn't get output
use CGI qw(:standard);
use strict;
my $query = new CGI;
my $name = $query->param('name');
my $loc = $query->param('loc');
print "$name is from $loc\n";