Hash::NoVivify 0.01
Sponsored Links
Hash::NoVivify 0.01 Ranking & Summary
File size:
0.003 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
889
Date added:
2007-05-18
Publisher:
Brent B. Powers
Hash::NoVivify 0.01 description
Hash::NoVivify is a Perl extension for non-vivifying exists and defined functions.
SYNOPSIS
use Hash::NoVivify qw(Defined Exists);
...
if (Exists(%hash, qw(key1 key2 ... keyn ))) {
...
}
if (Defined(%hash, qw(key1 key2 ... keyn))) {
...
}
When used on a hash, the exists() and defined() functions will create entries in a hash in order to evaluate the function.
For instance, the code:
%a = (a => 1, b=> 2);
print "Doesnt existn" unless exists($a{c});
print "Also Doesnt existn" unless exists($a{c}->{d});
print "Oh, my, not goodn" if exists($a{c});
will print out:
Doesnt exist
Also Doesnt exist
Oh, my, not good
The Hash::NoVivify module provides two functions, Defined() and Exists(), which avoid this, at the cost of a slightly convoluted syntax. Both functions take a reference to a hash, followed by a list of descending keys defining the hash entry to be investigated.
SYNOPSIS
use Hash::NoVivify qw(Defined Exists);
...
if (Exists(%hash, qw(key1 key2 ... keyn ))) {
...
}
if (Defined(%hash, qw(key1 key2 ... keyn))) {
...
}
When used on a hash, the exists() and defined() functions will create entries in a hash in order to evaluate the function.
For instance, the code:
%a = (a => 1, b=> 2);
print "Doesnt existn" unless exists($a{c});
print "Also Doesnt existn" unless exists($a{c}->{d});
print "Oh, my, not goodn" if exists($a{c});
will print out:
Doesnt exist
Also Doesnt exist
Oh, my, not good
The Hash::NoVivify module provides two functions, Defined() and Exists(), which avoid this, at the cost of a slightly convoluted syntax. Both functions take a reference to a hash, followed by a list of descending keys defining the hash entry to be investigated.
Hash::NoVivify 0.01 Screenshot
Hash::NoVivify 0.01 Keywords
NoVivify
NoVivify 0.01
perl extension
Defined Functions
exists
defined
functions
Perl
print
hash
Hash::NoVivify
HashNoVivify
Hash::NoVivify 0.01
Libraries
Programming
Bookmark Hash::NoVivify 0.01
Hash::NoVivify 0.01 Copyright
WareSeeker periodically updates pricing and software information of Hash::NoVivify 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 Hash::NoVivify 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
defined contribution retirement
yblagulous means poorly defined
god exists
defined fitness rio rancho
exists sql
defined fitness
defined benefit retirement plan
sql exists
mlb team balun defined
functions of money
defined benefit plans
defined abs
what evidence exists for global warming
exists alasanmu
user defined functions
perl extension implementing
defined health
software defined radio
Related Software
Set::Hash is a Perl module with hashes as objects with lots of handy methods and support for method chaining. Free Download
Tie::HashHistory can track history of all changes to a tied hash. Free Download
schemon is a Scheme interpreter for Python. Free Download
Env::Bash is a Perl extension for accessing _all_ bash environment variables. Free Download
PLJava is Perl module that will embed Perl into Java. Free Download
Hash::Case is a base class for hashes with key-casing requirements. Free Download
Sub::ArgShortcut is a Perl module with writing functions that use default arguments. Free Download
Text::VisualWidth is a Perl module that provides functions to treat half-width and full-width characters. Free Download
Latest Software
Popular Software
Favourite Software