Main > Programming > Libraries >

Tie::Hash::KeysMask 0.01

Tie::Hash::KeysMask 0.01

Sponsored Links

Tie::Hash::KeysMask 0.01 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.004 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 807
Date added: 2007-08-10
Publisher: Josef Schönbrunner

Tie::Hash::KeysMask 0.01 description

Tie::Hash::KeysMask - control key aliasing by mask function, e.g. omit case of character distinction.

SYNOPSIS

use Tie::Hash::KeysMask;

my $mask = sub {...};
tie %argH, Tie::Hash::KeyMask,$mask, more arguments;

Yield that the key mask function &$mask translates any key
when applied to %argH like ..

$k => $mask->($k, more arguments)

that is

$argH{$k} expands to $argH{$mask->($k, more arguments)}
$argH{$k} = $v expands to $argH{$mask->($k, more arguments)} = $v

If e.g. choose key mask sub {uc $_[0]} one can access an element without care of case of the key. In place of sub { } particular items can be used which will be translated into a CODE. The translation is

lc => sub { lc $_[0] }
uc => sub { uc $_[0] }
%M => sub { exists $M{$_[0]} ? $M{$_[0]} : $_[0]}

A class-method codemap manage this translation. If it is pleased one could override it and add ones own translations.
This class inherits from Tie::Hash::Create by which the tied hash can be obtained anonymously as reference with the command

Tie::Hash::KeyMask->newHASH (sub {...}, more arguments)

which overrides the tie syntax calling tie from body of newHash.

Tie::Hash::KeysMask 0.01 Screenshot

Advertisements

Tie::Hash::KeysMask 0.01 Keywords

Bookmark Tie::Hash::KeysMask 0.01

Hyperlink code:
Link for forum:

Tie::Hash::KeysMask 0.01 Copyright

WareSeeker periodically updates pricing and software information of Tie::Hash::KeysMask 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 Tie::Hash::KeysMask 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

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
Related Software
Tie::Hash::Stack is a Perl module which maintains an array of hashes like a stack. Free Download
Tie::Hash::RegexKeys will match hash keys using Regular Expressions. Free Download
Tie::HashHistory can track history of all changes to a tied hash. 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::Hash::Sorted Perl module presents hashes in sorted order. Free Download
Contrast Mask adds a Contrast Mask layer to the current image. Free Download
Tie::Eudora is a Perl module that can encode/decode emails, read/write emails in Eudora mailbox files. Free Download
Tie::Layers is a Perl module to read and write files pipelined through a stack of subroutine layers. Free Download