[Templates] url string w/ template toolkit

Andy Wardley abw@andywardley.com
Wed, 1 Oct 2003 14:40:02 +0100


Kake wrote:
> Works for me.  Should it not?

A. Pagaltzis wrote:
> when using the OO interface of CGI.pm in the main
> script, processing a POST request, and trying to get the CGI
> params via TT:P:CGI. The POST data would already have been
> consumed and subsequently stored in an object not accessible
> to TT:P:CGI by the time it comes into play.

Yes, this is true regardless of how you use the CGI module, either
through the OO or procedural interface.  The POST data is only available
once, and once only.

Having said that, it shouldn't be a problem if you only want to access
the URL, or if you are using GET requests.

A