current route of perl dancerby lightoverhead (Pilgrim)
|on Feb 09, 2014 at 19:46 UTC||Need Help??|
lightoverhead has asked for the
wisdom of the Perl Monks concerning the following question:
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.