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

Data::DRef 1999.0206

Company: Matthew Simon Cavalletto
Date Added: September 09, 2013  |  Visits: 253

Data::DRef

Report Broken Link
Printer Friendly Version


Product Homepage
Download (41 downloads)



Data::DRef is a Perl module that provides a streamlined interface for accessing values within nested Perl data structures. These structures are generally networks of hashes and arrays, some of which may be blessed into various classes, containing a mix of simple scalar values and references to other items in the structure.<br /><br />The Data::DRef functions allow you to use delimited key strings to set and retrieve values at desired nodes within these structures. These functions are slower than direct variable access, but provide additional flexibility for high-level scripting and other late-binding behaviour. For example, a web-based application could use DRefs to simplify customization, allowing the user to refer to arguments processed by CGI.pm in fairly readable way, such as query.param.foo.<br /><br />A suite of utility functions, previous maintained in a separate Data::Collection module, performs a variety of operations across nested data structures. Because the Data::DRef abstraction layer is used, these functions should work equally well with arrays, hashes, or objects that provide their own key-value interface.<br /><br />SYNOPSIS<br /><br /> use Data::DRef qw( :dref_access );<br /> my $hash = { 'items' => [ 'first' ] };<br /> print get_value_for_dref($hash, 'items.0');<br /> set_value_for_dref( $hash, 'items.1', 'second' );<br /> <br /> set_value_for_root_dref( 'myhash', $hash );<br /> print get_value_for_root_dref('myhash.items.0');<br /><br /> use Data::DRef qw( :select );<br /> matching_keys($target, %filter_criteria) : $key or @keys<br /> matching_values($target, %filter_criteria) : $item or @items<br /><br /> use Data::DRef qw( :index );<br /> index_by_drefs($target, @drefs) : $index<br /> unique_index_by_drefs($target, @drefs) : $index<br /> ordered_index_by_drefs( $target, $index_dref ) : $entry_ary<br /> <br /> use Data::DRef qw( :leaf );<br /> leaf_drefs($target) : @drefs<br /> leaf_values( $target ) : @values<br /> leaf_drefs_and_values( $target ) : %dref_value_pairs

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Arrays Datadref Datadref 1999 0206 Drefs Filter Criteria Functions Hashes Index Items Module Nested Print Provide Structures Target Values
Users rating: 0/10

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


DATA::DREF RELATED
Programming  -  DBIx::SQLEngine 0.93
DBIx::SQLEngine - Extends DBI with High-Level Operations DBIx::SQLEngine is the latest generation of a toolkit used by the authors for several years to develop business data applications. Its goal is to simplify dynamic query execution...
112.64 KB  
Libraries  -  SyslogScan::Daemon::SpamDetector::Filter 0.55
SyslogScan::Daemon::SpamDetector::Filter contains filter reports. SYNOPSIS plugin SyslogScan::Daemon::SpamDetector as sd_ sd_plugin SyslogScan::Daemon::SpamDetector::Filter status spam match SpamAssassin field relayname acceptfirst 1 accept...
18.43 KB  
Libraries  -  Filter::cpp 1.33
Filter::cpp is a cpp source filter. SYNOPSIS use Filter::cpp ; This source filter pipes the current source file through the C pre-processor (cpp) if it is available. As with all source filters its scope is limited to the current source...
40.96 KB  
Miscellaneous  -  Criteria-based cascading priority queue 1.0
This module provides a simple criteria-based priority queue with "priority cascading".The criteria argument should be a sequence of callables that return boolean values. There is no need to add an "all pass" criterion at the end; the queue will...
 
Modules  -  Caption Filter 6.x-1.0
This module provides a very simple caption input filter that can be used to attach captions to an image or embeddable object. Similar to the WordPress caption shorthand, the filter came for the need to provide a simple method to attach captions to...
10 KB  
Modules  -  Module Filter 7.x-1.6
The modules list page can become quite big when dealing with a fairly large site or even just a dev site meant for testing new and various modules being considered. What this module aims to accomplish is the ability to quickly find the module you...
10 KB  
Search & Replace Tools  -  Harddisk Search and Stats 1.0
Freeware file and disk search engine. Harddisk Search and Stats can search multiple files and folders recursively. You can also specify non-recursive searches. Use as many search-phrases as you want within one search. The search can be filtered...
847 KB  
Libraries  -  PerlPoint::Import::POD 0.06
PerlPoint::Import::POD is a standard PerlPoint import filter for POD. SYNOPSIS # command line: process a POD file perlpoint ... IMPORT:file.pod ... # or, in a PerlPoint source: // include a POD file with "pod" extension...
11.26 KB  
Graphics Editors  -  Photo Frames & Effects Free 1.0
Photo Frame & Effects Free is a comprehensive application that will enable users to add frames, borders and filter effects to their digital photos. The program's easy-to-use interface allows you to alter your images fast and easy without the need...
10.45 MB  
E-Mail Tools  -  EmC-Email Control 2. 2. 2009
EmC-Email Control is an anti-spam application which allows users to reduce the number of junk mails arriving in their inbox. The program works with a combination of filters, that can be customized by the user and checks the mail while it is still...
4.8 MB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
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