There's more than one way to do things | |
PerlMonks |
Apache::RequestNotes in mod_perl 2.0by ait (Hermit) |
on Aug 29, 2014 at 14:54 UTC ( [id://1099002]=perlquestion: print w/replies, xml ) | Need Help?? |
ait has asked for the wisdom of the Perl Monks concerning the following question: Hi I noticed that Apache::RequestNotes doesn't seem to be available for Apache2 so I am guessing that this functionality was incorporated in mod_perl 2.0 natively? If so, would someone kindly point me to an example on how to do this exact same thing with mod_perl 2? I need something very early in the request that parses form data and then make it avail to the rest of the request. My current solution involves a PerlTransHandler that slurps the content, parses it and saves it to notes. Then I have to re-inject the raw content back with a PerlInputFilterHandler so it's avail for the rest of the request chain. I hate re-inventing the wheel and I think something like Apache::RequestNotes would really be more elegant for what I'm trying to do. Many thanks in advance!
Back to
Seekers of Perl Wisdom
|
|