in reply to Extract form fields & values from query string of http_referrer
You can initialize CGI.pm with the query you want, like this:
my $query = (split /\?/, $ENV{HTTP_REFERER}, 2)[1]; my $q = new CGI($query); ...
But you cannot always rely on HTTP_REFERER to be set, so why not post the query directly the the perl script?
--
|
|---|