lightoverhead has asked for the wisdom of the Perl Monks concerning the following question:
Monks
Does anyone know if there is a name to refer to the current route?
for example, I have "http://localhost/abc". I would like to have some variable, such as "current_route" to refer the route of "/abc" or just "abc". Then I can use it a template tt file as <% current_route %>.
I can find some other way to go round this. but a direct name would be nice.
Thanks
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: current route of perl dancer
by webfiend (Vicar) on Feb 09, 2014 at 21:23 UTC | |
by lightoverhead (Pilgrim) on Feb 10, 2014 at 19:46 UTC | |
Re: current route of perl dancer
by Anonymous Monk on Feb 10, 2014 at 00:15 UTC | |
Re: current route of perl dancer
by Anonymous Monk on Feb 10, 2014 at 20:58 UTC |