Thanks. I see what you are saying now. The "value" through me off, because
its the same name as the var "value". I was just thinking value.

Line 18? Not understanding where you see that line.

On Thu, Mar 31, 2016 at 9:03 PM, Mark Grimes <mvgri...@gmail.com> wrote:

> > Can't call method "bake" on an undefined value at
> /opt/cloudhost/apache/www/dworks/lib/DWorks/User.pm line 234, <> line 1.
> >
> >
> >
> >    # Currently, we're storing our user state in cookies.
> >
> >         Apache2::Cookie->new(
> >             $m->apache_req,
> >             name    => $name,
> >             value   => $value,
> >             expires => ($expires || ''), # Default: when browser is
> closed.
> >             path    => '/',
> >             secure  => ($data->{cookie}->{secure} ? 1 : 0),
> >         )->bake;
>
> Apache2::Cookie->new() is returning undef instead of an object. Looking at
> the source, I see it does that when name or value are undefined (line 18).
> I would check $name and $value.
>



-- 
Hiram Gibbard
hgibb...@gmail.com
http://hiramgibbard.com
------------------------------------------------------------------------------
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to