Set::Hash 0.01
Sponsored Links
Set::Hash 0.01 Ranking & Summary
File size:
0.007 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1040
Date added:
2006-12-18
Publisher:
Daniel J. Berger
Set::Hash 0.01 description
Set::Hash is a Perl module with hashes as objects with lots of handy methods (including set comparisons) and support for method chaining.
SYNOPSIS
use Set::Hash;
my $sh1 = Set::Hash->new(name=>"dan",age=>33);
my $sh2 = Set::Hash->new(qw/weight 185 height 72/);
$sh1->length->print; # 2
$sh1->push($sh2); # $sh1 now has weight=>185 and height=>72
$sh1->length->print; # 4
$sh2->values->join(",")->print(1); # 185, 72
Set::Hash allows you to create strings as objects and use OO-style methods on them. Many convenient methods are provided here that appear in the FAQs, 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.
Note that Set::Hash is a subclass of Set::Array, although most of the methods of Set::Array have been overloaded, so youll want to check the documentation for what each method does exactly.
SYNOPSIS
use Set::Hash;
my $sh1 = Set::Hash->new(name=>"dan",age=>33);
my $sh2 = Set::Hash->new(qw/weight 185 height 72/);
$sh1->length->print; # 2
$sh1->push($sh2); # $sh1 now has weight=>185 and height=>72
$sh1->length->print; # 4
$sh2->values->join(",")->print(1); # 185, 72
Set::Hash allows you to create strings as objects and use OO-style methods on them. Many convenient methods are provided here that appear in the FAQs, 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.
Note that Set::Hash is a subclass of Set::Array, although most of the methods of Set::Array have been overloaded, so youll want to check the documentation for what each method does exactly.
Set::Hash 0.01 Screenshot
Set::Hash 0.01 Keywords
Hash 0.01
Perl module
Method chaining
methods
module
Perl
objects
method
chaining
Set::Hash
SetHash
Set::Hash 0.01
Libraries
Programming
Bookmark Set::Hash 0.01
Set::Hash 0.01 Copyright
WareSeeker periodically updates pricing and software information of Set::Hash 0.01 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Set::Hash 0.01 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
birth control methods
research methods
birthing methods
methods of abortion
methods of mayhem
suicide methods
methods machine
methods of suicide
methods in enzymology
methods of research
methods of mayhem crash
perl modules
methods of family planning
methods in molecular biology
methods machine tools
teaching methods
construction methods
methods of birth control
Related Software
Hash::Merge Perl module merges arbitrarily deep hashes into a single hash. Free Download
Class::Method::hash is a Perl module that helps you create methods for handling a hash value. Free Download
Tie::Proxy::Hash is a Perl module created to efficiently merge & translate hashes. Free Download
SVN-Pusher is a Perl module that allows one to propagate changesets from one Subversion repository to the other. Free Download
Tie::Hash::Sorted Perl module presents hashes in sorted order. Free Download
RPM::Constants is a Perl module with groups of RPM-defined symbols. Free Download
Basset::Container::Hash Perl module implements a layered hash. Free Download
Net::AudioScrobbler is a Perl module that provides an interface to AudioScrobbler. Free Download
Latest Software
Popular Software
Favourite Software