perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Mak <p...@aaanime.net>
Subject $q->param() v.s. $Request->QueryString/Form
Date Sun, 05 Aug 2001 13:09:36 GMT
Is there an Apache::ASP function that works like $q->param() in CGI.pm?

That is, a function that works like this:

$ENV{REQUEST_METHOD} eq 'POST'
  ? $Request->Form('var')
  : $Request->QueryString('var')

so that it automatically decides whether to get the variable from the Form
or the QueryString for me.


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Mime
View raw message