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

Class::DataStore 0.07

  Date Added: October 06, 2010  |  Visits: 673

Class::DataStore

Report Broken Link
Printer Friendly Version


Product Homepage
Download (89 downloads)



Class::DataStore is a Perl module for generic OO data storage/retrieval. SYNOPSIS my %values = ( one => 1, two => 2 ); my $store = Class::DataStore->new( %values ); # using get/set methods $store->set( three, 3 ); my $three = $store->get( three ); # using AUTOLOAD method $store->four( 4 ); my $four = $store->four; my @four = $store->four; # returns a list my $exists = $store->exists( three ); # $exists = 1 my $data_hashref = $store->dump; $store->clear; Class::DataStore implements a simple storage system for object data. This data can be accessed via get/set methods and AUTOLOAD. AUTOLOAD calls are not added to the symbol table, so using get/set will be faster. Using AUTOLOAD also means that you will not be able to store data with a key that is already used by a instance method, such as "get" or "exists". This module was written originally as part of a website framework that was used for the Democratic National Committee website in 2004. Some of the implementations here, such as get() optionally returning a list if called in array context, reflect the way this module was originally used for building web applications. Class::DataStore is most useful when subclassed. To preserve the AUTOLOAD functionality, be sure to add the following when setting up the subclass: use base Class::DataStore; *AUTOLOAD = &Class::DataStore::AUTOLOAD; This module is also a useful add-on for modules that need quick and simple data storage, e.g. to store configuration data: $self->{_config} = Class::Datastore->new( $config_data ); sub config { return $_[0]->{_config}; } my $server = $self->config->server; my $sender = $self->config->get( sender );.

Requirements: No special requirements
Platforms: Linux
Keyword: Autoload Classdatastore Data Datastore Four Libraries Module Oo Perl Perl Module Programming Three Using
Users rating: 0/10

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


CLASS::DATASTORE RELATED
Libraries  -  pgk 0.05
pgk is a Perl Gimp Kit, a OO perl gtk interface. pgk::Widget new ($name,$type) pre: $name is the name of this widget. $type is the type of this widget. post: base class pgk::Widget created, that implements base functions for all derived...
7.17 KB  
Libraries  -  Alzabo 0.91
Alzabo is a Perl module with data modelling tool and RDBMS-OO mapper. SYNOPSIS Cannot be summarized here. What is Alzabo? Alzabo is a suite of modules with two core functions. Its first use is as a data modelling tool. Through either a...
204.8 KB  
Development Tools  -  Data Translation DT8837 Instrument Module Driver 1.0
Using the MATLABdlT« Instrument Control Toolboxd-OC?D?, you can access the functionality of Data Translationd-deOaos DT8837 instrument module . The Instrument Control Toolbox communicates with the DT8837 through a MATLAB driver to the...
81.92 KB  
Libraries  -  SQL::Generator 0.02
SQL::Generator is a Perl module to generate SQL-statements with oo-perl. SYNOPSIS use SQL::Generator; With this module you can easily (and very flexible) generate/construct sql-statements. As a rookie, you are used to write a lot of...
13.31 KB  
Database Tools  -  K Database Magic 2.8.3.1
Database Desktop, SQL manager, merge data, data comparison and many more function in one software. It accomodate a simple admittance to datasets like other database handling products. Firstly it doesn't concentrate maintenance of datasets, but...
6.29 MB  
Modules  -  Vaultline Payment Module 1.0
This payment module allows merchants using osCommerce to accept credit card payments using the VaultLine transaction gateway.The module allows you to choose between immediate payment and pre-authorization of the card for the amount concerned.The...
 
Libraries  -  Cache::Memcached::Tie 0.03
Cache::Memcached::Tie is a Perl module created for using Cache::Memcached as hash. SYNOPSIS #!/usr/bin/perl -w use strict; use Cache::Memcached::Tie; my %hash; my $memd=tie %hash,Cache::Memcached::Tie, {servers=>[192.168.0.77:11211]};...
15.36 KB  
Libraries  -  Inline::Java::PerlInterpreter 0.52
Inline::Java::PerlInterpreter is a Perl module used to call Perl directly from Java using Inline::Java. SYNOPSIS import org.perl.inline.java.* ; class HelpMePerl { static private InlineJavaPerlInterpreter pi = null ; public HelpMePerl()...
94.21 KB  
Development Tools  -  Agilent 8753/8720 VNA ASCII Data Read 1.0
This programs shows how to read data back from the Agilent/HP 8753/8720 Series Network Analyzers using FORM4 (ASCII) string format.
10 KB  
Development Tools  -  Agilent 8753/8720 VNA Binary Data Read 1.0
This programs shows how to read data back from the Agilent/HP 8753/8720 Series Network Analyzers using FORM5 (32-bit little-endian) binary block format
10 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