Beefy Boxes and Bandwidth Generously Provided by pair Networks
"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??


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?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-19 11:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found