in reply to Re^2: Universal request objects
in thread Universal request objects

CGI does work on the command-line. Witness:

$ perl -Ilib htdocs/story.pl 'rm=edit&story_id=1' Content-Type: text/html; charset=ISO-8859-1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http +://www.w3.org/TR/html401/loose.dtd"> ...

If you don't like that way of loading params you can load them yourself after calling CGI->new().

-sam

Replies are listed 'Best First'.
Re^4: Universal request objects
by Ovid (Cardinal) on Dec 23, 2005 at 19:24 UTC

    CGI is great for generating the response information, but not for the request information. I also need headers, if present, transparent handling of our session data and, in short, be extensible.

    To be fair, I'm not doing a good job describing this thing because the information presented to me was rather vague. Sorry about that.

    Cheers,
    Ovid

    New address of my CGI Course.