Krambambuli has asked for the wisdom of the Perl Monks concerning the following question:
Hello mod_perlers,
I've had the need recently to use mod_perl and, associated, to add some contextual information to a request during it's trip through the various stages.
I solved my rather simple problem using the "notes" method of Apache2::RecquestRec and am fine; however, the Apache2::RequestRec doc mentions 'en passant' that
...
If you want to pass Perl structures, you can use "$r->pnotes".
...
I hadn't have the time to play with that, but I'm curious about it; at first attempt, I could find no further information, so thanks for any direction/commented examples.
Thanks,
Krambambuli
I've had the need recently to use mod_perl and, associated, to add some contextual information to a request during it's trip through the various stages.
I solved my rather simple problem using the "notes" method of Apache2::RecquestRec and am fine; however, the Apache2::RequestRec doc mentions 'en passant' that
...
If you want to pass Perl structures, you can use "$r->pnotes".
...
I hadn't have the time to play with that, but I'm curious about it; at first attempt, I could find no further information, so thanks for any direction/commented examples.
Thanks,
Krambambuli
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Using Apache2::RequestRec and pnotes
by graq (Curate) on Apr 03, 2007 at 12:31 UTC | |
by Krambambuli (Curate) on Apr 03, 2007 at 15:01 UTC | |
Re: Using Apache2::RequestRec and pnotes
by philcrow (Priest) on Apr 03, 2007 at 13:01 UTC | |
Re: Using Apache2::RequestRec and pnotes
by TOD (Friar) on Apr 03, 2007 at 11:26 UTC | |
Re: Using Apache2::RequestRec and pnotes
by perrin (Chancellor) on Apr 03, 2007 at 14:58 UTC | |
by Krambambuli (Curate) on Apr 03, 2007 at 15:15 UTC | |
by perrin (Chancellor) on Apr 03, 2007 at 17:15 UTC | |
Re: Using Apache2::RequestRec and pnotes
by Moron (Curate) on Apr 03, 2007 at 16:55 UTC |
Back to
Seekers of Perl Wisdom