use namespace::clean -except => 'meta';
-has env => (is => 'rw');
+has env => (is => 'rw', writer => '_set_env');
# input position and length
has read_length => (is => 'rw');
-httponly => $val->{httponly} || 0,
)
);
- next if(!defined $cookie); # warn?
+ if (!defined $cookie) {
+ $c->log->warn("undef passed in '$name' cookie value - not setting cookie")
+ if $c->debug;
+ next;
+ }
push @cookies, $cookie->as_string;
}