good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
REST::Application not finding handlerby hesco (Deacon) |
on Aug 17, 2009 at 20:30 UTC ( [id://789272]=perlquestion: print w/replies, xml ) | Need Help?? |
hesco has asked for the wisdom of the Perl Monks concerning the following question:
How do I overload REST::Application->new() ??? I have a module which looks something like this:
I'm running tests on this module which look like this:
which seems to indicate that $myapp can perform all of the methods in its base class REST::Application. But for some reason, it does not seem to be running the handler specified in my setup() call. It does seem to be running both preRun() and postRun() just fine, but I'm not seeing callHandler() do its thing with my custom code identified in the call to ->resourceHooks(). I have not found much literature on this module beyond the perldoc. Are folks actually using REST::Application and if so, can anyone advise me how to make it work, please? -- Hugh UPDATE: I also wrote the author asking the following: Does REST::Application still only work with Apache 1.3, as suggested in the article here: http://perlmonks.com/?node_id=562705 Is it safe to assume that if I'm not using mod_perl, but cgi instead that I don't need:
if( $lal && $lol ) { $life++; }
Back to
Seekers of Perl Wisdom
|
|