Filewatcher File Search File Search
Catalog
Content Search
» » » » » »

perl-Set-Array

Arrays as objects with lots of handy methods

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.

Homepage:
Package version:0.14
Architecture:noarch
Distribution:RPMForge
Filename:perl-Set-Array-0.14-1.el5.rf.noarch.rpm

/usr/share/doc/perl-Set-Array-0.14/README

NAME
    Set::Array - Arrays as objects with lots of handy methods (including Set
    comparisons) and support for method chaining.

SYNOPSIS
    "my $sao1 = Set::Array->new(1,2,4,"hello",undef);"

    "my $sao2 = Set::Array->new(qw(a b c a b c));"

    "print $sao1->length; # prints 5"

    "$sao2->unique->length->print; # prints 3"

PREREQUISITES
    Perl 5.6 or later

    The 'Want' module by R
more»

/usr/share/man/man3/Set::Array.3pm.gz

Set::Array(3)    User Contributed Perl Documentation   Set::Array(3)



NAME
       Set::Array - Arrays as objects with lots of handy methods
       (including Set comparisons) and support for method chaining.

SYNOPSIS
       "my $sao1 = Set::Array->new(1,2,4,"hello",undef);"

       "my $sao2 = Set::Array->new(qw(a b c a b c));"

       "print $sao1->length; # prints 5"

       "$sao2->unique->l
more»

/usr/share/doc/perl-Set-Array-0.14/Changes

Revision history for Perl extension Set::Array.

0.14  Mon Apr 10 19:51:00 2006
	- Fix test which used a hard-coded version number

0.13  Sun Apr 09 13:58:00 2006
	- Incorporate the patch supplied by Marke, with thanks. Now the method 'difference' returns
		the objects in the difference, and not the stingified versions of those objects.
		Also, Marke's test has been added to test.t.
		Note: The un
more»

Browse inside perl-Set-Array-0.14-1.el5.rf.noarch.rpm

1.32 KB2014-11-29HEADER  view  50 mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download perl-Set-Array-0.14-1.el5.rf.noarch.rpm

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com