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

Basset::Container::Hash 1.04

  Date Added: March 02, 2010  |  Visits: 915

Basset::Container::Hash

Report Broken Link
Printer Friendly Version


Product Homepage
Download (88 downloads)

Basset::Container::Hash Perl module implements a layered hash. The easiest way to explain is with an example: my %x = (a => b); tie my %y, Basset::Container::Hash, %x; #<- %x is the parent of y. print $x{a}; #prints b print $y{a}; #prints b (inherited from x) $y{a} = foo; $y{z} = bar; print $x{a}; #prints b print $y{a}; #prints foo (overriden in y) print $x{z}; #prints undef (not defined in x print $y{z}; #prints bar (overridden from x) delete $y{a}; print $x{a}; #prints b print $y{a}; #prints b (inherited from x) $x{b} = c; print $x{b}; #prints c print $y{b}; #prints c (inherited from x) So why another new framework? Well, first of all its not all that new. You are getting a reasonably hardened piece of software that has been around and developed for a while. But the main reason is that I just dont like how a lot of the stuff on CPAN works together. One author writes his persistence layer with exceptions, and another writes his object framework with error codes, and another has an observer implementation, and nothing ever quite plays right together. Sure, itll mostly work, once you hack it up a bit, but you tend to end up with comments sprinkled through your code like, "catch the exception here, since we cant use error codes, since Foo::Bar::Baz doesnt work with them." The miracle of open source software making your life easier crashes down. Basset is designed to tie it all together. Things are implemented in a very specific, very consistent fashion, but youre not tied to any of it. You want to inherit from a different root class? You can inject one. You want to use a different persistence layer instead of the built in one? You can change it. You want to use a different templating engine? Go right ahead. You may lose some of the consistency that I feel is so valuable, but Im not going to stop you. Basset is a framework framework - you follow the rules and you can tie together everything in your system very easily. Whys it called Basset? Well, I figure if there can be a framework out there called Maypole, I can call mine Basset. Its somewhat adequate - basset hounds are loyal, trustworthy, play well with others, and easy to get along with. Noble qualities in software. Mainly I just like basset hounds..

Requirements: No special requirements
Platforms: Linux
Keyword: Bassetcontainerhash Hash Perl Implements Layered Libraries Module Perl Perl Module Programming
Users rating: 0/10

License: Freeware Size: 143.36 KB
BASSET::CONTAINER::HASH RELATED
Utilities  -  Dylan Code Collection 1.7
A collection of useful libraries written in the Dylan programming language. The intent of this project is to provide easily accessible libraries for people developing applications using Functional Developer and/or Gwydion Dylan.
673.63 KB  
Programming  -  kin 0.0.2
kin is a set of libraries and tools supporting meta-programming for engineering and technical computing applications. This JVM version of kin has been superseded by the stand-alone version being developed at http://purl.org/net/kin.
477.44 KB  
Libraries  -  Tie::Hash::Sorted 0.10
Tie::Hash::Sorted Perl module presents hashes in sorted order. SYNOPSIS use Tie::Hash::Sorted; my %ages = ( John => 33, Jacob => 29, Jingle => 15, Heimer => 48, Smitz => 12, ); my $sort_by_numeric_value = sub { my $hash = shift; [...
8.19 KB  
Libraries  -  Hash::Merge 0.10
Hash::Merge Perl module merges arbitrarily deep hashes into a single hash. SYNOPSIS use Hash::Merge qw( merge ); my %a = ( foo => 1, bar => [ qw( a b e ) ], querty => { bob => alice }, ); my %b = ( foo => 2, bar => [ qw(c d) ], querty...
7.17 KB  
Libraries  -  Tie::Hash::Stack 0.09
Tie::Hash::Stack is a Perl module which maintains an array of hashes like a stack. SYNOPSIS use Tie::Hash::Stack qw(pop_hash push_hash merge_hash); my %hash; tie( %hash, "Tie::Hash::Stack" ); # Ties the hash $hash{ 1 } = "one"; $hash{ 2...
6.14 KB  
Libraries  -  Hash::NoVivify 0.01
Hash::NoVivify is a Perl extension for non-vivifying exists and defined functions. SYNOPSIS use Hash::NoVivify qw(Defined Exists); ... if (Exists(%hash, qw(key1 key2 ... keyn ))) { ... } if (Defined(%hash, qw(key1 key2 ... keyn))) {...
3.07 KB  
Libraries  -  PAR::WebStart::PNLP 0.18
PAR::WebStart::PNLP is a Perl module that can parse pnlp files. SYNOPSIS my $file = hello.pnlp; my $obj = PAR::WebStart::PNLP->new(file => $file); my $cfg = $obj->parse(); This module is used to parse PNLP files, which are XML files whose...
23.55 KB  
Libraries  -  Module::Versions 0.02
Module::Versions is a Perl module to handle versions of loaded modules with flexible result interface. SYNOPSIS use Module::Versions; # Simple Interface list Module::Versions; # prints formatted results to STDOUT Module::Versions->list; #...
21.5 KB  
Libraries  -  PLJava 0.04
PLJava is Perl module that will embed Perl into Java. USAGE import perl5.Perl ; import perl5.SV ; public class test { public static void main(String argv[]) { Perl.eval("print qq`Hello World!n` ;") ; /////////////////// SV foo =...
163.84 KB  
Libraries  -  Inline-API 0.44
Inline-API is a Perl module that teach you how to bind a programming language to Perl using Inline.pm. SYNOPSIS #!/usr/bin/perl use Inline Foo; say_it(foo); # Use Foo to print "Hello, Foo" __Foo__ foo-sub say_it { foo-my $foo =...
91.14 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