in reply to Universal request objects

CGI.pm works pretty well, with the possible exception of SOAP, depending on how you're taking requests. It definitely works for CGI, mod_perl and on the command-line.

-sam

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

    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.

      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.