in reply to Re^4: Checking MD5 of files in directory with corresponding MD5 file type
in thread Checking MD5 of files in directory with corresponding MD5 file type
OK. So, I see six steps in your plan:
Which parts of these have you already implemented and which are missing?
Maybe it helps to write these either as print statements or as comments in your code, and then replace them one by one with real code:
sub check_md5 { my( $path, $item ) = @_; # process the MD5 of 'file' # open 'file.md5' # hold its content in memory # compare to the processed MD5 of 'file' # if it matches move to the next file and corresponding .md5 file # if there is an error, send it to the logmd5 subroutine for logging };
What is the first item you can implement? Do that, then do the next item from the list that you can implement. Do that until either you've implemented everything or until you get stuck.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Checking MD5 of files in directory with corresponding MD5 file type
by deedo (Novice) on Dec 30, 2016 at 11:51 UTC | |
|
Re^6: Checking MD5 of files in directory with corresponding MD5 file type
by Anonymous Monk on Dec 30, 2016 at 16:19 UTC | |
|
Re^6: Checking MD5 of files in directory with corresponding MD5 file type
by deedo (Novice) on Jan 06, 2017 at 11:20 UTC | |
by Corion (Patriarch) on Jan 06, 2017 at 11:40 UTC | |
by deedo (Novice) on Jan 06, 2017 at 11:29 UTC |