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
Back to
Seekers of Perl Wisdom