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

Tie::DB_Lock 0.07

  Date Added: June 18, 2012  |  Visits: 542

Tie::DB_Lock

Report Broken Link
Printer Friendly Version


Product Homepage
Download (72 downloads)

Tie::DB_Lock Perl module can tie hashes to databases using shared and exclusive locks. SYNOPSIS use Tie::DB_Lock; use DB_File; tie(%hash, Tie::DB_Lock, $filename, rw); # Open for writing $hash{key} = value; untie %hash; tie(%hash2, Tie::DB_Lock, $filename); # Default is read-only print("Value is $hash2{key}n"); untie %hash; This is a front-end for the DB_File package. If you tie a hash in read-only mode, this module puts a shared lock on the database file, copies it to a temporary file, unlocks the original database, and then ties the tempfile using DB_File. If you tie the hash in read-write mode, we put an exclusive lock on the database and tie it directly using DB_File. The reason I copy the whole file every time I read from it is that this allows the program to read from the file for as long as it wants to, without interfering with other peoples writes. This works well if you typically have long, sustained reads, and short, bursty writes. See the README file for help in deciding whether you want to use this package. You dont always need to call untie() explicitly - it will be called for you when %hash goes out of scope. And if all goes as planned, youll never know the temporary file ever existed, since it will evaporate when %hash goes away..

Requirements: No special requirements
Release Date: June 18, 2012
Platforms: Linux
Keyword: Db File Hash Libraries Lock Lock Perl Module Perl Module Programming Tie Tiedblock Using
Users rating: 0/10

License: Freeware Size: 7.17 KB
TIE::DB_LOCK RELATED
Libraries  -  Java::JCR::Lock::Lock 0.08
Java::JCR::Lock::Lock is a Perl wrapper for javax.jcr.lock.Lock. This is an automatically generated package wrapping javax.jcr.lock.Lock with a nice Perlish API. For full documentation of what this class does, see the Java API documentation:...
48.13 KB  
Libraries  -  GD::SGF 0.9.7
GD::SGF is a Perl module to simplify SGF game rendering using GD::Image. SYNOPSIS use Games::Go::SGF2misc::GD; my $image = new Games::Go::SGF2misc::GD(imagesize => 256, boardsize => 19, antialias => 1 ); $image->gobanColor(127,127,127);...
102.4 KB  
Libraries  -  Acme::EyeDrops 1.51
Acme::EyeDrops is a Perl module for visual programming in Perl. SYNOPSIS use Acme::EyeDrops qw(sightly); print sightly( { Shape => camel, SourceFile => eyesore.pl } ); Acme::EyeDrops converts a Perl program into an equivalent one, but...
102.4 KB  
Libraries  -  Class::Declare::Attributes 0.04
Class::Declare::Attributes is a Perl module with Class::Declare method types using Perl attributes. SYNOPSIS package My::Class; use 5.006; use strict; use warnings; use base qw( Class::Declare::Attributes ); # declare the...
21.5 KB  
Libraries  -  Tclperl 3.1
Tclperl project allows the execution of Perl code from within a TCL interpreter using one or several embedded Perl interpreters. This package allows the execution of Perl code from a Tcl interpreter, as in: package require tclperl set...
 
Modules  -  Enabled modules 5.x--beta 1.0
This module lists module regardless if their code base is present or not.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: - Drupal 5.x
 
Modules  -  Enabled modules 5.x--beta 1.0
This module lists module regardless if their code base is present or not.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: - Drupal 5.x
 
Modules  -  Enabled modules 5.x--beta 1.0
This module lists module regardless if their code base is present or not.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: - Drupal 5.x
 
Libraries  -  Java::JCR::Lock 0.08
Java::JCR::Lock is a Perl module that can load JCR lock extension wrappers. SYNOPSIS use Java::JCR::Lock This loads the Perl classes mapped to the Java package named javax.jcr.lock. Installation: Installation can be a bit tricky because...
48.13 KB  
Libraries  -  File::Find::Closures 1.06
File::Find::Closures is a Perl module with functions you can use with File::Find. SYNOPSIS use File::Find; use File::Find::Closures qw(:all); my( $wanted, $list_reporter ) = find_by_name( qw(README) ); File::Find::find( $wanted,...
7.17 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