Tie::Hash::Sorted 0.10
Sponsored Links
Tie::Hash::Sorted 0.10 Ranking & Summary
File size:
0.008 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
833
Date added:
2007-07-13
Publisher:
Joshua Gatcomb
Tie::Hash::Sorted 0.10 description
Tie::Hash::Sorted Perl module presents hashes in sorted order.
SYNOPSIS
use Tie::Hash::Sorted;
my %ages = (
John => 33,
Jacob => 29,
Jingle => 15,
Heimer => 48,
Smitz => 12,
);
my $sort_by_numeric_value = sub {
my $hash = shift;
[ sort {$hash->{$b} <=> $hash->{$a}} keys %$hash ];
};
tie my %sorted_ages, Tie::Hash::Sorted,
Hash => %ages,
Sort_Routine => $sort_by_numeric_value;
for my $name ( keys %sorted_ages ) {
print "$name is $sorted_ages{$name} years old.n";
}
### OUTPUT ###
Heimer is 48 ears old.
John is 33 ears old.
Jacob is 29 ears old.
Jingle is 15 ears old.
Smitz is 12 ears old.
SYNOPSIS
use Tie::Hash::Sorted;
my %ages = (
John => 33,
Jacob => 29,
Jingle => 15,
Heimer => 48,
Smitz => 12,
);
my $sort_by_numeric_value = sub {
my $hash = shift;
[ sort {$hash->{$b} <=> $hash->{$a}} keys %$hash ];
};
tie my %sorted_ages, Tie::Hash::Sorted,
Hash => %ages,
Sort_Routine => $sort_by_numeric_value;
for my $name ( keys %sorted_ages ) {
print "$name is $sorted_ages{$name} years old.n";
}
### OUTPUT ###
Heimer is 48 ears old.
John is 33 ears old.
Jacob is 29 ears old.
Jingle is 15 ears old.
Smitz is 12 ears old.
Tie::Hash::Sorted 0.10 Screenshot
Tie::Hash::Sorted 0.10 Keywords
Sorted Perl
Sorted 0.10
Perl module
sorted
ears
old
ages
presents
sort
Tie::Hash::Sorted
TieHashSorted
Tie::Hash::Sorted 0.10
Libraries
Programming
Bookmark Tie::Hash::Sorted 0.10
Tie::Hash::Sorted 0.10 Copyright
WareSeeker periodically updates pricing and software information of Tie::Hash::Sorted 0.10 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 Tie::Hash::Sorted 0.10 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
Sponsored Links
Related Information
sorted tube
sortedlist
mernals that are sorted by streak
sorted linked list
perl modules
Sorting algorithm
get sorted
install perl module
sorted soundtrack
book reviews sorted
sortedset
installing perl module
sorted surf shop
sorted date
sortedmap
how do you spell sorted
sorted for es and wizz
cm sorted
Related Software
Tie::HashHistory can track history of all changes to a tied hash. Free Download
Tie::Hash::Stack is a Perl module which maintains an array of hashes like a stack. Free Download
Tie::Formatted is a Perl module embed sprintf() formatting in regular print(). Free Download
Hash::Merge Perl module merges arbitrarily deep hashes into a single hash. Free Download
Tie::Hash::KeysMask - control key aliasing by mask function, e.g. omit case of character distinction. Free Download
Tie::Form is a Perl module to access a machine readable database file that minics a hardcopy form. Free Download
Set::Hash is a Perl module with hashes as objects with lots of handy methods and support for method chaining. Free Download
Tie::Trace can easy print debugging with tie. Free Download
Latest Software
Popular Software
Favourite Software