Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

CGI Parameters

by worik (Sexton)
on Dec 14, 2016 at 22:13 UTC ( #1177808=perlquestion: print w/replies, xml ) Need Help??

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

I wish to read the CGI parameters in FCGI script.
In the old days I used, but it was a bit heavy weight, but it became a bad habit.
I am looking for a simple package to extract the parameters from $ENV{QUERY_STRING} and the STDIN but cannot find anything appropriate.
There is Plack but it is way way too much. Is there anything small and light weight out there?

Replies are listed 'Best First'.
Re: CGI Parameters
by hippo (Bishop) on Dec 15, 2016 at 00:45 UTC
Re: CGI Parameters
by Your Mother (Archbishop) on Dec 15, 2016 at 02:26 UTC

    CGI is fine. If you know it and you have an FCGI env, there is no reason to avoid it really; though the lightweight suggestions by hippo are probably good. Plack is *far* more lightweight but it's also not appropriate. It's a framework kit and spec, not directly an application development tool.

Re: CGI Parameters (, CGI::Fast )
by Anonymous Monk on Dec 15, 2016 at 02:24 UTC

    In the old days I used, but it was a bit heavy weight, but it became a bad habit.

    Well it ain't the old days no more :) use, specifically use it through CGI::Fast , nothing else, not even CGI::Simple approaches in terms of CGI -- if Ye olde CGI your goal use the best, use

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1177808]
Approved by stevieb
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2023-10-02 14:50 GMT
Find Nodes?
    Voting Booth?

    No recent polls found