Replies: 1 comment 1 reply
-
|
Hi there, You should have a look at Mojolicious::Controller->req that gives you a Mojo::Message::Request object, holding among other things the URL. It would probably be usefulfor you to familiarize yourself with the documentation, and also the guides. Lots of great information there. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, what have I please to write in this sample to print, through $here, '/some/location' ?
get '/some/location' => sub ($c) {
...
$here = ...?
print $here ."\n";
...
} => /some/location';
thanks
Beta Was this translation helpful? Give feedback.
All reactions