Hi everybody
How to call an installed route for some path and then to intercept its
results?
Like this:
get "/hello"=> sub {
$c->render(code=>200, text=>"hello, ".$c->param("name");
};
my ($code,$output) =call_route("/hello", {name=>"John"});
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.