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

[rt.cpan.org #72505] Misuse of length(@array)

Thread Previous | Thread Next
From:
Paul Marquess via RT
Date:
November 18, 2011 10:32
Subject:
[rt.cpan.org #72505] Misuse of length(@array)
Message ID:
rt-3.8.HEAD-6895-1321573383-1445.72505-6-0@rt.cpan.org
<URL: https://rt.cpan.org/Ticket/Display.html?id=72505 >

Thanks for the bug report. As it happens the same issue was reported
last week in #72329. Amazing - this bug has probably been lurking for a
few years, then it gets reported twice in the space of a week.

Good idea having the new warning, by the way. I can't think of a valid
use of length(@array) off hand.

I've checked my fix works with the new warnings patch. 

Just senting a refresh (version 2.042) of all the *::Compress::* modules
to CPAN now.

cheers
Paul

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