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 29.641.875 Times

Data::DRef 1999.0206

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

Data::DRef

Report Broken Link
Printer Friendly Version


Product Homepage
Download (16 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  
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  
Modules  -  OpenLayers Proximity 6.x-2.x-de
OpenLayers Proximity enables geographical proximity search for the OpenLayers module (6.x-2.x). The module exposes a filter to the Views module where users can specify starting point and radius of the proximity search. The starting point can be...
20.48 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
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  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB