Hi Hiram,
On Thu, Mar 31, 2016 at 2:48 PM, Hiram Gibbard <hgibb...@gmail.com> wrote:
> ... I'm making an effort to move a Perl application PREVIOUSLY
> leveraging Mason on Apache 1.3 (w/ statically linked modules), and Perl
> version 5.8.5 to Apache 2 (DSO) / Perl 5.10.1 ( i realize that is not the
> current version, but it is what we have bench-marked from Redhat as a
> "supportable version" on RHEL 6.7). I've gotten the application over and
> started, but there is a a error that I'm having issue with. Wondering if
> anyone can help me. This code appears to generate the following:
>
> 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;
>
> User.pm line 234 is the bake->
>
> I don't understand what needs to be updated. based on the cpan docs for
> Apache2::Cookie, this appears to be valid.
>
>
I can't answer your questions, but I gather you aren't picking up that
the Perl error message seems to be saying that the
Apache2::Cookie->new(...) is returning undef, so the ->bake can't very well
be a method of that.
I hope this tiny snippet of a response is of some help.
regards, -- John Kirk
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users