php script directory webmaster resources
php scripts
Best Rated
asp scripts
New Scripts
java scripts
Popular Scripts
perl scripts
Advanced Search
   
Home About Us FAQ
Add New Script Edit Script Contact Us
CGI and Perl :: Database Tools :: Perl storable module to persist data to disk
Perl storable module to persist data to disk    Hits: 54


Description:
Came across the following challenge this week, how do I easily persist data between two independent UNIX sessions. Usually I’d store data in a db or maybe ldap, but I only want to keep maybe a days worth and on multiple servers. In this article, I show two scripts - one which writes using the Perl Storage module and the other that reads. Each call to write, adds to a data file. Which is then extracted from by the read script. I include possible uses, for example recording restarts of a given service. In this instance I did n't want services restarting multiple times, where manual recovery of data would be needed. Also generating multiple alerts and notifications, but again looking to throttle them to a given number of iterations over 24 hours.


 Resource Specification
Platform(s): linux, freebsd, sun
Date Added: June 06, 2006
Script ID: 549



Reviews by Other Users

Average Rating This Year (0.00 out of 5) from 0 reviews

Average Rating Last Year (0.00 out of 5) from 0 reviews

Read Reviews

Post Review


 


Home | About Us | FAQ | Add a Listing | Login | Contact Us | Partners | Getting Rated

php script directory | php email scripts | webmaster resources | php scripts | free web site templates


email marketing | online store software | web file manager | customer support software | knowledge base software
email forms | cheap web hosting | viral marketing software | affiliate software
email hosting | applicant tracking software | php article software

Copyright © 2004 ClickitScripts.com. All rights reserved.