develooper Front page | perl.perl5.porters | Postings from December 2011

Re: [perl #105278] Add warning for exists($a[0]) and delete($a[0])

Thread Previous | Thread Next
From:
Eric Brine
Date:
December 30, 2011 21:35
Subject:
Re: [perl #105278] Add warning for exists($a[0]) and delete($a[0])
Message ID:
CALJW-qEg_qcN3mk5N2A6SjP=JcuK_wwcb+_La+Txrr7qykjVpQ@mail.gmail.com
On Fri, Dec 16, 2011 at 2:25 PM, Eric Brine <ikegami@adaelis.com> wrote:

> Hi,
>
> Patch #1 changes two
>
unecessary uses of

> C<< exist($_[1]) >> to C<< @_ >= 2 >>. Any objections to that? They aren't
> part of tests for exists($a[]) or delete($a[]).
>

Warnocked.

- Eric

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About