Install libapreq2, which emulates the CGI->param() method. Depending how refactored your existing codes are, you may not need to rework much.

[EMAIL PROTECTED] wrote:

I'll admit that I'm a mod_perl newbie. I've always just used plain ol' CGI scripts in the past. Obviously I have relied's upon CGI's param() method to get form parameters. Looking around the documentation, I can see how to do the equivalent using mod_perl, but nothing with mod_perl 2. In fact, many a google search has suggested that this is more or less broken in mod_perl 2 and to use CGI.pm instead. However, before I did this, which I consider to be a kludge, I figured it would be best to ask the community since I can find nothing about it on the mod_perl documentation site.

So here's the basic question. What method(s) do I use in standard mod_perl 2 modules to perform tasks similar to CGI.pm's param() method?

Dan Kelley
Sr. Network Analyst
SSM Health Care, Information Center
(314) 768-5144 / (314) 256-9272
------------------------------------------------------------------------

*Confidentiality Notice: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. *


Reply via email to