NestedMap 1.0
Sponsored Links
NestedMap 1.0 Ranking & Summary
File size:
0.003 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
826
Date added:
2007-07-25
Publisher:
David Cantrell
NestedMap 1.0 description
NestedMap is a module to make nesting map{}s inside map{}s easierc.
SYNOPSIS
# show all combinations of (A,B,C) (a,b,c) and (1,2,3)
print join("n",
nestedmap {
nestedmap {
nestedmap {
join(,@NestedMap::stack[0..2])
} qw(A B C)
} qw(a b c)
} qw(1 2 3)
);
# a zip() function for any number of lists of varying length
sub zipn {
my @args = @_;
[
nestedmap {
nestedmap {
defined($args[$_][$NestedMap::stack[1]]) ?
$args[$_][$NestedMap::stack[1]] :
} 0..$#args
} 0 .. max(map { $#{$_[$_]} } 0..$#args)
]
}
NB - older versions of perl may not like the code blocks I use in these examples.
You may have to use:
nestedmap sub { ... }, @list;
instead of
nestedmap { ... } @list;
See the test suite for examples of the above code modified to use that syntax.
SYNOPSIS
# show all combinations of (A,B,C) (a,b,c) and (1,2,3)
print join("n",
nestedmap {
nestedmap {
nestedmap {
join(,@NestedMap::stack[0..2])
} qw(A B C)
} qw(a b c)
} qw(1 2 3)
);
# a zip() function for any number of lists of varying length
sub zipn {
my @args = @_;
[
nestedmap {
nestedmap {
defined($args[$_][$NestedMap::stack[1]]) ?
$args[$_][$NestedMap::stack[1]] :
} 0..$#args
} 0 .. max(map { $#{$_[$_]} } 0..$#args)
]
}
NB - older versions of perl may not like the code blocks I use in these examples.
You may have to use:
nestedmap sub { ... }, @list;
instead of
nestedmap { ... } @list;
See the test suite for examples of the above code modified to use that syntax.
NestedMap 1.0 Screenshot
NestedMap 1.0 Keywords
NestedMap
To make
s inside
NestedMap 1.0
map
s
nesting
module
0
inside
NestedMap 1.0
Libraries
Programming
Bookmark NestedMap 1.0
NestedMap 1.0 Copyright
WareSeeker periodically updates pricing and software information of NestedMap 1.0 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 NestedMap 1.0 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
to make new id
how to make money
to make a new account
to make you feel my love
to make id
how to make a resume
to make you feel my love kris allen
to make a resume
how to make a website
to make you feel my love lyrics
to make a website
not ready to make nice lyrics
to make love
to make you feel my love garth brooks lyrics
to make you feel my love josh kelley
how to make your own website
to make a payment
how to make french toast
Related Software
SILC Map is an utility which can be used to visualize the topology of a SILC network. Free Download
GD::Map is Perl extension for creating geographic map files with GD. Free Download
smalloc (Static memory buffer malloc) is an ideal memory manager for Realtime Linux Kernel modules. Free Download
UO Web Map is a Web-based map with user-defined markers for Ultima Online. Free Download
Convert::CharMap is a Perl module that can conversion between Unicode Character Maps. Free Download
NetMap Generator is a project used to generate a graphical map of your connection with the Internet. Free Download
mod_coredumper uses the CoreDumper library from Google to fetch a GDB compatible core file from Apache, over HTTP. Free Download
The Ultimate Safe Money Guide -Free Online Money Guide Make Your Online Money The Safe Way And Generate a Daily Income Stream. The best thing I came ... Free Download
Latest Software
Popular Software
Favourite Software