Dancer::Cookie - class representing cookies
use Dancer::Cookie; my $cookie = Dancer::Cookie->new( name => $cookie_name, value => $cookie_value );
Dancer::Cookie provides a HTTP cookie object to work with cookies.
The cookie's name.
The cookie's value.
The cookie's expiration date.
The cookie's domain.
The cookie's path.
Create a new Dancer::Cookie object.
You can set any attribute described in the ATTRIBUTES section above.
Runs an expiration test and sets a default path if not set.
Creates a proper HTTP cookie header from the content.
Internal method to convert the time from Epoch to GMT.
Copyright 2009-2010 Alexis Sukrieh.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.