in reply to Re^2: parse $ENV{'QUERY_STRING'}
in thread parse $ENV{'QUERY_STRING'}

If you are using CGI consider using the param method:

my $q = CGI->new; my $name = $q->param('name'); warn $name;

You can run this from the command line by passing parameters ./cgi.pl name=Derp.

However if you want to run this without a web server do you really need to use CGI at all? Perhaps if you write a short explanation of what you're trying to achieve people can provide better advice. If you do need to write something for the web, consider using Mojoliciouis::Lite rather than CGI.

Replies are listed 'Best First'.
Re^4: parse $ENV{'QUERY_STRING'}
by Anonymous Monk on Jun 30, 2017 at 13:46 UTC

    I'm sorry that I am not getting my problem stated in a understandable way.
    I have data filled out from a html page...the data is available in the 'get' query string. If I could get access to that string locally I would not have to have a web server parse the string and update a database. I'm trying to eliminate the web server.

        I have no need to show anything...the 'a.cgi' would parse the query string and update database tables with the parsed values. I do not need to answer back to the client.