[dancer-users] route handler for a URL that matches a token

Richard Reina gatorreina at gmail.com
Thu Sep 17 18:28:54 BST 2015


>
> ;
> You dont need define variable here. Also you should use "=>" instead of
> "=" as follow.
>
> incoming_token => params->{token}
>
>
Ok, but now how can I access the value of incoming_token? Is it now a
scalar?

How can I use it to do for example

if (incoming_token eq 'blahblablah) { #then do something }

To me if it doesn't have $ in front of it I don't know how to handle it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20150917/026713af/attachment.html>


More information about the dancer-users mailing list