Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.475.166 Times

NestedMap 1.0

  Date Added: November 24, 2010  |  Visits: 1.066

NestedMap

Report Broken Link
Printer Friendly Version


Product Homepage
Download (100 downloads)



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..

Requirements: No special requirements
Platforms: Linux
Keyword: Inside Libraries Map Module Nestedmap Nesting Programming To Make
Users rating: 0/10

License: Freeware Size: 3.07 KB
USER REVIEWS
More Reviews or Write Review


NESTEDMAP RELATED
Home & Leisure  -  How To Make A Candy Bouquet 1.0
eBook showing how to make a candy bouquet, with pictures and detailed instructions.
768 KB  
Modules  -  Sliced Book Navigation 1.0
This module can be used to make navigation more themable. For example, you can put level zero in the top region of your site, level one in the left sidebar, level two in a navigation table on top of the content and every other level inside the...
 
Modules  -  Simple CCK 5.x-1.0-beta1
Simple CCK is a module that was developed to make it possible for end-users to work with CCK. * Basically it's a UI module on top of CCK built to improve it's usability. * A tool you can give your customers to build their own content types -...
20.48 KB  
Education  -  How to Make Money with Adware 1.1
This tutorial will show webmasters and software developers how to make money online. After years of trying to make money on the Internet I finally discovered what works. I currently receive residual income with minimal effort. This tutorial...
363 KB  
Gaming Utilities  -  How to make Modifications for Games 1.0
Regardless of your modding skill level, this eBook will show you the general steps and hints on how to make modifications for games. The sections are all bundled into one freely available offline package for your convenience. These are the...
713 KB  
Classic Games  -  How to Make Big Soft Ginger Cookies 1.0
Cooking game for girls: how to make big soft ginger cookies. Use given ingredients: flour, ground ginger, baking soda, cinnamon, cloves, salt, margarine, white sugar, egg, water, molasses. For more cooking games visit http://cookinggamesmag.com ....
2.77 MB  
Screen Savers  -  How To Make Money Today 1.1
Samsung has put out another top notch product with this new series of Telvisions. The Samsung LN46A750 46-Inch 1080p DLNA LCD HDTV with RED Touch of Color blows past other top name brands of High Definition Televisions. This High Definition...
1.11 MB  
Libraries  -  vars::global 0.0.1
vars::global is a Perl module that tries to make global variables a little safer. SYNOPSIS # In the place/package where we want to create globals use vars::global create => qw( $foo @bar %baz ); # Add some more global symbols...
7.17 KB  
Libraries  -  Filter::Macro 0.11
Filter::Macro is a Perl module to make macro modules that are expanded inline. SYNOPSIS In MyHandyModules.pm: package MyHandyModules; use Filter::Macro; # lines below will be expanded into callers code use strict; use warnings; use...
13.31 KB  
Libraries  -  Convert::Recode 1.04
Convert::Recode is a Perl module to make mapping functions between character sets. SYNOPSIS use Convert::Recode qw(ebcdic_to_ascii); while ( ) { print ebcdic_to_ascii($_); } The Convert::Recode module can provide mapping functions...
3.07 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB