Main > Programming > Libraries >

Tie::Hash::Sorted 0.10

Tie::Hash::Sorted 0.10

Sponsored Links

Tie::Hash::Sorted 0.10 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
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.

Tie::Hash::Sorted 0.10 Screenshot

Advertisements

Tie::Hash::Sorted 0.10 Keywords

Bookmark Tie::Hash::Sorted 0.10

Hyperlink code:
Link for forum:

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

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Sponsored Links
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