Provided by: libdancer-perl_1.3500+dfsg-1_all
Dancer::Cookie - class representing cookies
use Dancer::Cookie; my $cookie = Dancer::Cookie->new( name => $cookie_name, value => $cookie_value );
Dancer::Cookie provides an HTTP cookie object to work with cookies.
new Create a new Dancer::Cookie object. You can set any attribute described in the ATTRIBUTES section above. init Runs an expiration test and sets a default path if not set. to_header Creates a proper HTTP cookie header from the content.
Dancer Core Developers
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Alexis Sukrieh. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.