Hello Lee, use Digest::MD5 module I believe solve your problem, But you can incorporate other Perl modules to achieve your task.
Things I would consider for this task : 1. Scripts checks on file/directory on every ? seconds 2. I should not bother about access time. 3.your script need to calculate and compare an MD5 digest for each file in a directory ? 4. stat or ls -ld can considered as useful. 5. atime, mtime, and ctime I hope you it will help. Cheers, Pritish On Wed, Jun 12, 2013 at 11:20 AM, David Christensen < dpchr...@holgerdanske.com> wrote: > On 06/11/13 21:44, lee wrote: > >> ... what I don't understand is what >> >> the most efficient way would be to create a sha-2 sum for a file. >> > > Have you considered Digest? > > http://perldoc.perl.org/**Digest.html<http://perldoc.perl.org/Digest.html> > > > HTH, > > David > > > -- > To unsubscribe, e-mail: beginners-unsubscr...@perl.org > For additional commands, e-mail: beginners-h...@perl.org > http://learn.perl.org/ > > >