Carrot
view release on metacpan or search on metacpan
lib/Carrot/Personality/Valued/Internet/Protocol/HTTP/Header/Data/Cookie.pm view on Meta::CPAN
package Carrot::Personality::Valued::Internet::Protocol::HTTP::Header::Data::Cookie
# /type class
# /attribute_type ::Many_Declared::Ordered
# //parent_classes
# ::Personality::Valued::Internet::Protocol::HTTP::
# ::Header_Lines::_Cookies
# ::URL_Encoding
# /capability ""
{
use strict;
use warnings 'FATAL' => 'all';
# =--------------------------------------------------------------------------= #
sub attribute_construction
# /type method
# /effect "Constructs the attribute(s) of a newly created instance."
# //parameters
# //returns
{
my ($this) = @ARGUMENTS;
$this->[ATR_RAW] = IS_UNDEFINED;
$this->[ATR_COOKIES] = {};
return;
}
sub value
# /type method
# /effect ""
# //parameters
# //returns
# ?
{
return($_[THIS][ATR_RAW]);
}
sub assign_value
# /type method
# /effect ""
# //parameters
# raw
# //returns
{
my ($this) = @ARGUMENTS;
$this->[ATR_RAW] = $_[SPX_RAW];
$this->[ATR_COOKIES] = $this->cookie_deserialize($_[SPX_RAW]);
return;
}
sub cookies
# /type method
# /effect ""
# //parameters
# //returns
# ?
{
return($_[THIS][ATR_COOKIES]);
}
sub by_name
# /type method
# /effect ""
( run in 2.096 seconds using v1.01-cache-2.11-cpan-13bb782fe5a )