<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I have<br>
get '/list/:start/:end' => sub {<br>
<br>
return getlist(params->{start}, params->{end});<br>
}<br>
in a working project.<br>
<br>
So params->{incoming_token} is the value you want.<br>
<br>
--john<br>
<div class="moz-cite-prefix">On 9/17/2015 11:28 AM, Richard Reina
wrote:<br>
</div>
<blockquote
cite="mid:CAKLxnzaSyhPF+=ZuzNbRH=WtZmwAd_6zm9ojjhmU8TNqWP4LVQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<p><span class="">;<br>
</span>
You dont need define variable here. Also you should use
"=>" instead of "=" as follow.</p>
<p>incoming_token => params->{token}</p>
<br>
</blockquote>
</div>
<br>
</div>
<div class="gmail_extra">Ok, but now how can I access the value
of incoming_token? Is it now a scalar?<br>
<br>
</div>
<div class="gmail_extra">How can I use it to do for example <br>
<br>
if (incoming_token eq 'blahblablah) { #then do something }<br>
<br>
</div>
<div class="gmail_extra">To me if it doesn't have $ in front of
it I don't know how to handle it.<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
dancer-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dancer-users@dancer.pm">dancer-users@dancer.pm</a>
<a class="moz-txt-link-freetext" href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
John J. McDermott, CPLP
Learning and Performance Consultant
jjm at jkintl.com 575/737-8556
Check out my security blog posts
Add an A for the Arts To STEM and get STEAM and a strong engine to move forward. </pre>
</body>
</html>