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

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

Serving Software Downloads in 976 Categories, Downloaded 32.402.252 Times

NestedMap 1.0

  Date Added: November 24, 2010  |  Visits: 881

NestedMap

Report Broken Link
Printer Friendly Version


Product Homepage
Download (82 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
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  
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  
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  
Libraries  -  GD::Graph::Polar 0.15
GD::Graph::Polar is a Perl module to make polar graph using GD package. SYNOPSIS use GD::Graph::Polar; my $obj=GD::Graph::Polar->new(size=>480, radius=>100); $obj->addPoint (50=>25); $obj->addPoint_rad (50=>3.1415); $obj->addGeoPoint...
47.1 KB  
Libraries  -  HTML::Template 2.9
HTML::Template module attempts to make using HTML templates simple and natural. HTML::Template library extends standard HTML with a few new tags for variables, loops, if/else blocks and includes. A file written with HTML and these new tags is...
62.46 KB  
Libraries  -  Multi-Agent Grid Engine library 0.1.3
Multi-Agent Grid Engine library is an experiment aimed to make a programming tool for creation of autonomic systems..
696.32 KB  
Libraries  -  libavg 0.6.0
libavg library is made for media presentations and installations that is meant to make Macromedia Director superflous. Installations are scripted using an XML-based layout language and Python for interaction. Multimedia on linux has made great...
6.2 MB  
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 3.15.3
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