"be consistent" | |
PerlMonks |
Re: Why is mojolicious "routing to a callback" ?by ctilmes (Vicar) |
on Nov 25, 2015 at 19:24 UTC ( [id://1148619]=note: print w/replies, xml ) | Need Help?? |
"Routing to a callback" means calling a "sub { ... }" instead of a to('somecontroller#someaction'). If you give it a name it will print the name instead of just "a callback". (conversely, you can embed any of them with a sub{} callback instead of a name and it will say just "Routing to a callback" instead of "Routing to controller/action". It is probably calling your $r->under() sub and failing.
In Section
Seekers of Perl Wisdom
|
|