Keep It Simple, Stupid | |
PerlMonks |
keeping something in memory after the end of scriptby swissknife (Sexton) |
on Apr 15, 2016 at 10:34 UTC ( [id://1160504]=perlquestion: print w/replies, xml ) | Need Help?? |
swissknife has asked for the wisdom of the Perl Monks concerning the following question: Dear Experts, I am writing a script to monitor the change in checksum of a file. idea is to get the checksum id and store it somewhere and then in next run compare it with previously stored value and if difference alert it to Admin. A simple solution is using file handling but what if someone change the content of this file once the new checksum is created. So i was wondering is there a way to store this value directly in memory or somewhere more secure and then read it for comparison. Thank You.
Back to
Seekers of Perl Wisdom
|
|