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

Right. Doesn't work for SOAP or CLI. I know people have worked on this problem before, so I assume there's something out there. I just don't know if it's open source or not :)

Cheers,
Ovid

New address of my CGI Course.

Replies are listed 'Best First'.
Re^3: Universal request objects
by samtregar (Abbot) on Dec 23, 2005 at 19:17 UTC
    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

      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.