http://qs321.pair.com?node_id=1160504

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.