./devel/p5-Set-Array, Arrays as objects with lots of handy methods

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.30nb5, Package name: p5-Set-Array-0.30nb5, Maintainer: pkgsrc-users

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.


Required to run:
[lang/perl5] [devel/p5-Want]

Required to build:
[devel/p5-Module-Build] [devel/p5-Test-Deep] [devel/p5-Test-Pod] [devel/p5-Try-Tiny] [pkgtools/cwrappers]

Master sites: (Expand)

SHA1: 750c3baff450012a5661c88ad042a50ab9355952
RMD160: 064c76ffecb03abcb1e35637e1fbecccdf9769a7
Filesize: 31.959 KB

Version history: (Expand)


CVS history: (Expand)


   2018-08-22 11:48:07 by Thomas Klausner | Files touched by this commit (3558)
Log message:
Recursive bump for perl5-5.28.0
   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   2016-06-08 21:25:20 by Thomas Klausner | Files touched by this commit (2236) | Package updated
Log message:
Bump PKGREVISION for perl-5.24.
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-06-12 12:52:19 by Thomas Klausner | Files touched by this commit (3152)
Log message:
Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
   2014-05-30 01:38:20 by Thomas Klausner | Files touched by this commit (3049)
Log message:
Bump for perl-5.20.0.
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.
   2013-12-15 15:25:50 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
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$/.
   2013-05-31 14:42:58 by Thomas Klausner | Files touched by this commit (2880)
Log message:
Bump all packages for perl-5.18, that
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.