Jul 30, 2015, 6:36 AM
Post #1 of 2
Dear Perl Gurus,
I would like to seek recommendation on what could be a good solution here...
I would like to monitor file count in a specific directory & record the count every hour (perl script will run thru a cron). I would need to keep that counts somewhere for another calculation but I would like to keep only the last 8 counts, meaning throw away the oldest data & just keep the last 8 records. How can I effectively do this in perl?
(This post was edited by artperl on Jul 30, 2015, 7:02 AM)