At 09:39 01.05.2002, Konstantin Yotov wrote:
>Hello! :)
>
>I read in the mod_perl, that arg is more fast than
>CGI::param, but when I try to use it I can get form
>date only when use method GET. I try this:
>%param = $r->method eq 'post' ? $r->content :
>$r->args;
>But without a success. Please give me some advice.

That should be my %params = $r->method eq 'POST' ? $r->content : $r->args;
(note the upper case).

Anyway, you probably want to look into Apache::Request, which is a mod_perl 
replacement for CGI.pm (although without all the HTML generation features).


-- 
Per Einar Ellefsen
[EMAIL PROTECTED]


Reply via email to