Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Why is mojolicious "routing to a callback" ?

by ctilmes (Vicar)
on Nov 25, 2015 at 19:24 UTC ( #1148619=note: print w/replies, xml ) Need Help??


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.
  • Comment on Re: Why is mojolicious "routing to a callback" ?

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1148619]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2022-08-17 20:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?