http://qs1969.pair.com?node_id=1148619


in reply to Why is mojolicious "routing to a callback" ?

"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.

Replies are listed 'Best First'.
Re^2: Why is mojolicious "routing to a callback" ?
by pcouderc (Monk) on Nov 26, 2015 at 07:45 UTC
    Thank you.