Mojo::Cookie::Request - HTTP 1.1 Request Cookie Container
use Mojo::Cookie::Request; my $cookie = Mojo::Cookie::Request->new; $cookie->name('foo'); $cookie->value('bar'); print "$cookie";
Mojo::Cookie::Request is a container for HTTP 1.1 request cookies.
Mojo::Cookie::Request inherits all attributes from Mojo::Cookie.
Mojo::Cookie::Request inherits all methods from Mojo::Cookie and implements the following new ones.
parse
my @cookies = $cookie->parse('$Version=1; f=b; $Path=/');
prefix
my $prefix = $cookie->prefix;
to_string
my $string = $cookie->to_string;
to_string_with_prefix
my $string = $cookie->to_string_with_prefix;
Mojolicious, Mojolicious::Book, http://mojolicious.org.
To install Mojolicious, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious
CPAN shell
perl -MCPAN -e shell install Mojolicious
For more information on module installation, please visit the detailed CPAN module installation guide.