From 050aa4b0bf8e3a3b26491676ca30aed0fd000cdf 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} = { @_ }; }