[dancer-users] how to fetch an existing cookie
Andrew Beverley
andy at andybev.com
Mon Jul 17 16:54:50 BST 2017
On Mon, 17 Jul 2017 16:45:48 +0200 Emmanuel Seyman wrote:
> * Wanjuan Yang [17/07/2017 14:39] :
> >
> > Does Dancer2 has equivalent module or are there any ways to fetch a cookie?
>
> Dancer2 has Dancer2::Core::Cookie
> http://search.cpan.org/~cromedome/Dancer2-0.205001/lib/Dancer2/Core/Cookie.pm
If you know the name of the cookie, you can also just do this:
my $cookie = cookie 'my_cookie';
Andy
More information about the dancer-users
mailing list