Perl storable module to persist data to disk
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.
![Visit Listing - Inout Homestay - Vacation & Space Rental Portal Script Inout Homestay - Vacation & Space Rental Portal Script - Cover Image](https://webcf.waybackmachine.org/web/20220629003315im_/https://listingimages.hotscriptscontents.com/cover-image/157969/medium_a61b369d912bea6669ca0bcf7e35adb8.png)
![Visit Listing - Car Dealer & Autos Theme (New 2022) - Download Now! Car Dealer & Autos Theme (New 2022) - Download Now! - Cover Image](https://webcf.waybackmachine.org/web/20220629003315im_/https://listingimages.hotscriptscontents.com/cover-image/166841/medium_0a35370e2efdbcb8a9519fdc265d5bca.png)
![Visit Listing - Business Directory Theme (New 2022) - Download Now! Business Directory Theme (New 2022) - Download Now! - Cover Image](https://webcf.waybackmachine.org/web/20220629003315im_/https://listingimages.hotscriptscontents.com/cover-image/166839/medium_6e521d59d719cf961deb4b9f0c35686c.png)