Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Data-Rmap | Distribution: RPMForge repository for Red Hat Enterprise Linux 6 |
Version: 0.62 | Vendor: Dag Apt Repository, http://dag.wieers.com/apt/ |
Release: 1.el6.rf | Build date: Thu Nov 11 05:39:41 2010 |
Group: Applications/CPAN | Build host: lisse.hasselt.wieers.com |
Size: 31794 | Source RPM: perl-Data-Rmap-0.62-1.el6.rf.src.rpm |
Packager: Dries Verachtert <dries@ulyssis.org> | |
Url: http://search.cpan.org/dist/Data-Rmap/ | |
Summary: Recursive map, apply a block to a data structure |
Recursively evaluate a BLOCK over a list of data structures (locally setting $_ to each element) and return the list composed of the results of such evaluations. $_ can be used to modify the elements. Data::Rmap currently traverses HASH, ARRAY, SCALAR and GLOB reference types and ignores others. Depending on which rmap_* wrapper is used, the BLOCK is called for only scalar values, arrays, hashes, references, all elements or a customizable combination. The list of data structures is traversed pre-order in a depth-first fashion. That is, the BLOCK is called for the container reference before is it called for it's elements (although see "recurse" below for post-order). The values of a hash are traversed in the usual "values" order which may affect some applications. If the "cut" subroutine is called in the BLOCK then the traversal stops for that branch, say if you "cut" an array then the code is never called for it's elements (or their sub-elements). To simultaneously return values and cut, simply pass the return list to cut: "cut('add','to','returned');" The first parameter to the BLOCK is an object which maintains the state of the traversal. Methods available on this object are described in "State Object" below.
Artistic/GPL
* Tue Oct 07 2008 Dag Wieers <dag@wieers.com> - 0.62-1 - 7981/dag - Updated to release 0.62. * Sun Dec 11 2005 Dries Verachtert <dries@ulyssis.org> - 0.61-1 - Initial package.
/usr/share/doc/perl-Data-Rmap-0.62 /usr/share/doc/perl-Data-Rmap-0.62/Changes /usr/share/doc/perl-Data-Rmap-0.62/INSTALL /usr/share/doc/perl-Data-Rmap-0.62/MANIFEST /usr/share/doc/perl-Data-Rmap-0.62/META.yml /usr/share/doc/perl-Data-Rmap-0.62/README /usr/share/man/man3/Data::Rmap.3pm.gz /usr/share/perl5/vendor_perl/Data /usr/share/perl5/vendor_perl/Data/Rmap.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Sun Mar 9 08:24:44 2025