Update to 0.30
Upstream changes: 0.30 Wed Sep 18 09:21:00 2013 - No code changes. - Add t/intersection.*.pl as part of the expanded discussion of methods such as intersection(). This code was developed in conjunction with Joern Behre, to help clear up confusion over the issue of the uniqueness of items returned from various methods. - Add an FAQ with an item discussing this issue. - Expand the discussion of overloaded operators to recommend testing of the output of various methods before production use, and that unique() may need to be called, since unique() is not called automatically during a call to, say, intersection(). - Include docs for bag(), difference(), intersection(), is_equal() and not_equal() explicitly among all other methods, besides their original mention under 'OVERLOADED (COMPARISON) OPERATORS'. - Include docs for new() as well. 0.29 Wed Jul 3 16:20:00 2013 - No code changes. - Rename CHANGES to Changes as per CPAN::Changes::SPEC. - Recreate META.* files so they say licence is artistic_2 rather than artistic_1. Build.PL and Makefile.PL already said artistic_2, but the META.* files didn't. There is no reference to licences in the source of the module itself. This was requested by Christopher Meng who packages stuff for Fedora. 0.28 Wed Dec 19 08:50:00 2012 - Extend fix for RT#81971 to add ^ in the regexps used in index() and rindex(), so they are now /^\Q$value\E$/ and not just /\Q$value\E$/. This issue was also reported by Henrik Hald N鴕gaard. - Update docs for rindex() is say undef is returned - as with index() - if the value is not found. - Extend t/rt.81971.t to check rindex() returns undef when searching for the suffix of a value. 0.27 Sat Dec 15 07:19:00 2012 - Fix RT#81971, kindly reported by Henrik Hald N鴕gaard. When special chars, as used in regexps, are set members, or used to find set members, they must be quoted with \Q$value\E inside regexps. This fix was applied to count(), delete(), exists(), index() and rindex(). - Add t/rt.81971.t to exercise the new code. - While examining the code for this fix, I found a couple of other bugs: In index() and rindex(), the value searched for was compared with each set member using this regexp, /$value/, instead of this regexp, /$value$/. The missing, trailing, $ meant that the member could match just the prefix of $value, rather than match the value exactly. So in those 2 methods the tests are now /\Q$value\E$/. The other 3 methods mentioned above already used /$value$/.
This commit is contained in:
parent
5c36fd85b0
commit
751703ff48
2 changed files with 6 additions and 7 deletions
|
@ -1,9 +1,8 @@
|
|||
# $NetBSD: Makefile,v 1.5 2013/05/31 12:40:43 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2013/12/15 14:25:50 wen Exp $
|
||||
#
|
||||
|
||||
DISTNAME= Set-Array-0.26
|
||||
DISTNAME= Set-Array-0.30
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
PKGREVISION= 2
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Set/}
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.2 2012/09/10 14:57:37 wen Exp $
|
||||
$NetBSD: distinfo,v 1.3 2013/12/15 14:25:50 wen Exp $
|
||||
|
||||
SHA1 (Set-Array-0.26.tgz) = 7b48c8766e21ed69ecb93c48d29f6209ef8606c8
|
||||
RMD160 (Set-Array-0.26.tgz) = 0f10edfca41c480f447b14055b5c3e10105e3b2b
|
||||
Size (Set-Array-0.26.tgz) = 29655 bytes
|
||||
SHA1 (Set-Array-0.30.tgz) = 750c3baff450012a5661c88ad042a50ab9355952
|
||||
RMD160 (Set-Array-0.30.tgz) = 064c76ffecb03abcb1e35637e1fbecccdf9769a7
|
||||
Size (Set-Array-0.30.tgz) = 32726 bytes
|
||||
|
|
Loading…
Reference in a new issue