* Yann Kerherv <[EMAIL PROTECTED]> [2002-07-30 10:54]:
> Yeah. I encountered the same problem but I didn't mind since 'GET' was
> ok for me. But I think it comes from Apache::Template
>
> gory details :
>
> $params->{ params } = { %{ $request->parms() } }
> if $all or $plist->{ params };
>
> In Template::Service::Apache.
>
> (read the socket and loose data for subsequent calls ?)
No, by the time parms() is called, the data has been completely read and
is stored in an Apache::Table object; you can call parms as many times
as you want, and get the same data (although it is a modifiable
structure). You only lose data if you call Apache::Request->new
multiple times, the request is a POST, and you clobber the original
Apache::Request instance.
Also, the above line references the Apache::Table object as a hash, and
then creates a new hashref using that data, so you working with a
(shallow) copy of it.
(darren)
--
Violence is to dictatorship as propaganda is to democracy.
-- Noam Chomsky
_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://www.template-toolkit.org/mailman/listinfo/templates