> -----Original Message----- > From: Andy Wardley [mailto:[EMAIL PROTECTED] > 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.
I was avoiding chiming in earlier but I use Apache2 and thus don't get to play with Apache::Template. I currently run about 20+ CGIs with TT and CGI as part of a lightweight internal business portal. Doing [% USE cgi %] in a header template for a URL bought me a long day of confusion where half my CGIs worked and half didn't... including one that worked intermittantly. Luckily I spotted that all the GET style calls were working and that the POST ones were complaining that they had no data. So if you give advice based on your experience with A::T, be sure you are talking to someone who is using it. :) (One of these days, I'm going to get a lightweight A::T replacement for Apache2 working.) Thanks for all the code and help, Andy! --mark mills Xodiax Engineering _______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
