|Perl Monk, Perl Meditation|
Re^2: Apache2. Passing data between handlersby artemave (Beadle)
|on Apr 25, 2007 at 16:21 UTC||Need Help??|
"You might want to look into calling dir_browse::error in the first handler just before you return SERVER_ERROR"
That means I don't need special error handler at all, do I?
The top catch block will do all the work, right?
That was the way until I thought it could look better. I mean, no need to worry about error handling in the main app, all the stuff will come up behind the scene.
Either way, still an opened question here: is there a way to pass data between two handlers? Like if I ever need to build a chain of redirects or something.
I'm pretty sure I'm missing something obvious after all. Or the whole idea is wrong and everybody does this and that, because it is so easy and obvious.