From: Brendan O'Dea Date: Sat, 11 Feb 2006 00:37:15 +0000 (+1100) Subject: Fix precedence. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7be0a92d7b766f4846554b78d49910f80158b3cc;p=p5sagit%2Fp5-mst-13.2.git Fix precedence. Subject: [PATCH] 5.8.8: Debian patches From: "Brendan O'Dea" Message-ID: <20060210133715.GA6826@londo.c47.org> p4raw-id: //depot/perl@27211 --- diff --git a/lib/Net/NNTP.pm b/lib/Net/NNTP.pm index 0467a80..fb4819a 100644 --- a/lib/Net/NNTP.pm +++ b/lib/Net/NNTP.pm @@ -120,7 +120,7 @@ sub article my $nntp = shift; my @fh; - @fh = (pop) if @_ == 2 || (@_ && ref($_[0]) || ref(\$_[0]) eq 'GLOB'); + @fh = (pop) if @_ == 2 || (@_ && (ref($_[0]) || ref(\$_[0]) eq 'GLOB')); $nntp->_ARTICLE(@_) ? $nntp->read_until_dot(@fh)