From 2153938d7b032a88e3a54abaa3d0519b0333ffec Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Mon, 22 Apr 2013 16:30:26 -0700 Subject: [PATCH] docs/logging: corrected example register() syntax --- docs/logging.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/logging.pod b/docs/logging.pod index 0066132..63febed 100644 --- a/docs/logging.pod +++ b/docs/logging.pod @@ -86,7 +86,7 @@ loglevel settings from the plugins/config entry $self->{_args}{loglevel}. A simple and recommended example is as follows: sub register { - my ( $self, $qp ) = shift, shift; + my ( $self, $qp ) = (shift, shift); $self->log(LOGERROR, "Bad arguments") if @_ % 2; $self->{_args} = { @_ }; }