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

Hash::Diff::Dispatch 0.01

  Date Added: August 15, 2010  |  Visits: 707

Hash::Diff::Dispatch

Report Broken Link
Printer Friendly Version


Product Homepage
Download (78 downloads)

Hash::Diff::Dispatch allows to execute code depending on difference between hashes. SYNOPSIS my $hash_watcher = Hash::Diff::Dispatch->new( {}, # Sets the starting hash # The events will be called using the order returned # by calling keys on these values... b => &bold, i => &italic, ); # Will call: bold(on, 5) $hash_watcher->update( { b => 5, a => la } ); # Will call: bold(changed, 6) $hash_watcher->update( { b => 6 } ); # Will call: bold(changed, 0) $hash_watcher->update( { b => 0 } ); # Will call: bold(off) $hash_watcher->update( {} ); METHODS new Accepts a starting hash-ref, and then a list of keys you want to watch, and the code to execute when they change. It will take a copy of the hash in the hash-ref you specify. update Accepts a hash-ref, which itll take a copy of, and make it the saved hash to check the next call to update again. If a keys value has changed, itll execute the code specified when you created the object. If the key exists where it didnt before, itll pass on as the first argument, and the new value as the second. If its changed, changed and the new value. If its been deleted, itll pass off..

Requirements: No special requirements
Platforms: Linux
Keyword: Changed Code Depending On Execute Execute Code Hash Hashdiffdispatch Itll Libraries Programming Update
Users rating: 0/10

License: Freeware Size: 3.07 KB
HASH::DIFF::DISPATCH RELATED
Libraries  -  Language::Zcode::Parser 0.8
Language::Zcode::Parser is a Perl module that reads and parses a Z-code file into a big Perl hash. SYNOPSIS # Create a Pure Perl Parser my $pParser = new Language::Zcode::Parser "Perl"; # If they didnt put ".z5" at the end, find it anyway...
296.96 KB  
Development Editors  -  RISE AJAX code generator 4.4
The RISE AJAX code generator renders JavaScript source code, that uses jQuery, for accessing your JSON enabled web services in your Rich Internet Applications or AJAX applications. The source code from the code generator is compliant with any JSON...
 
Programming  -  phc 0.1.7 RC2
phc is a compiler for PHP that will translate PHP code directly into Linux assembly code. phc project can be used as a (C++) framework for developing refactoring tools, aspect weavers, script obfuscators and any other tools that operate on PHP...
1.1 MB  
Libraries  -  Devel::Cover 0.61
Devel::Cover package contains code coverage metrics for Perl. SYNOPSIS perl -MDevel::Cover yourprog args cover perl -MDevel::Cover=-db,cover_db,-coverage,statement,time yourprog args To test an uninstalled module: cover -delete...
26.62 KB  
Libraries  -  Class::MakeMethods::Template 1.01
Class::MakeMethods::Template package contains extensible code templates. SYNOPSIS package MyObject; use Class::MakeMethods::Template::Hash ( new => new, string => foo, number => bar, ); my $obj = MyObject->new( foo => "Foozle", bar =>...
163.84 KB  
Libraries  -  Sub::PatMat 0.01
Sub::PatMat can call a version of subroutine depending on its arguments. SYNOPSIS use Sub::PatMat; # basics: sub fact : when($_[0] <= 1) { 1 } sub fact { my ($n) = @_; $n*fact($n-1) } print fact(6); # referring to things other than @_:...
14.34 KB  
Audio Tools  -  oggment 0.0.2
oggment is a mixing/streaming environment able to mix an unlimited (depending on the CPU) number of vorbis encoded audio files. These files could came from from the hardisk with a line/mic input from the soundcard and stream to an icecast2.0...
153.6 KB  
3D Graphic Tools  -  Photozeec 0.1.4
Photozeec is a software which lets you to modify digital photos (add date, add borders) depending on models. Principle : Choose a group of photos, set a title to this group, choose a model (modification template) and run the image conversion...
11.26 KB  
Audio Tools  -  Tam Jukebox Snapshot-2004-12-07
A jukebox that selects songs with relative frequency depending on how much you think they suck. Tam (Track Attribute Manager) jukebox is a system that randomly picks songs to play, and considers every track you have to be in every...
204.8 KB  
Code Management Tools  -  Kefir PR3
Kefir is a code generator that writes wrapper code around Glade files. Kefir takes glade files and writes a wrapper object for each window in Python, with methods corresponding to the given callbacks entered in glade. While it wont create a sane...
890.88 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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  
Libraries  -  wolfSSL 3.12.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...
2.73 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