http://www.perlmonks.org?node_id=838492


in reply to Re: Get the order of HTTP request headers
in thread Get the order of HTTP request headers

Thank you! I've got it working under mod_perl.

Now if only there is some way to get the Apache2::* modules working under a vanilla CGI script.

Replies are listed 'Best First'.
Re^3: Get the order of HTTP request headers
by Anonymous Monk on May 05, 2010 at 11:38 UTC
    Impossible, CGI passes http headers via %ENV
Re^3: Get the order of HTTP request headers
by ig (Vicar) on May 06, 2010 at 08:08 UTC

    There are pure Perl HTTP servers available. If you don't need the performance of of mod_perl, maybe one of these would suffice. This would give you direct access to the request.

    Is there any reason not to use mod_perl?