in reply to Dancer2 get the raw uri

Hello perl_help27 and welcome to the monastery and to the wonderful world of Perl!

I'm not an expert but as far i understand :smt it's not at all a part of the request: it's a part of the route definition. It says that something following /dosmth/ wil be interpreted as the value of the smth param.

ps they are called tokens: see named matching

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.