I haven't seen any PErl code with ->log-> like that before. I've only seen code
like that with = error(*).
-Original Message-
>From: "Patton, Billy"
>Sent: Oct 6, 2014 9:33 AM
>To: "beginners-cgi@perl.org"
>Subject: cgi and inheritance
On Mon, Oct 6, 2014 at 6:33 AM, Patton, Billy wrote:
> I’ve recently inherited some code that hasn’t been touched in over 5 years.
> It’s all cgi and OOPerl.
> I’ve ran across this one statement that I don’t understand.
>
> $self->log->error(*)
That's calling the 'error()' method, on the result
I’ve recently inherited some code that hasn’t been touched in over 5 years.
It’s all cgi and OOPerl.
I’ve ran across this one statement that I don’t understand.
$self->log->error(*)
I know the self
and I’ve traced the error to CGI::Application through inheritance.
But it’s the ->log-> that has m