Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
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$/.
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
Upstream changes:
0.26 Thu Mar 22 10:50:00 2012
- No code changes.
- Expand the sample code and comments under difference() to show more clearly what sets get
changed during operations, and to show another way of determining the difference between sets.
0.25 Fri Mar 9 16:58:00 2012
- Add Try::Tiny to pre-reqs. Add attributes, overload, strict, subs and warnings too.
Set::Array allows you to create arrays as objects and use OO-style methods on
them. Many convenient methods are provided here that appear in the FAQ's, the
Perl Cookbook or posts from comp.lang.perl.misc. In addition, there are Set
methods with corresponding (overloaded) operators for the purpose of Set
comparison, i.e. +, ==, etc.
The purpose is to provide built-in methods for operations that people are
always asking how to do, and which already exist in languages like Ruby. This
should (hopefully) improve code readability and/or maintainability. The other
advantage to this module is method-chaining by which any number of methods may
be called on a single object in a single statement.