in reply to Re: Compare Directories and List Changed or Missing Files
in thread Compare Directories and List Changed or Missing Files

Thanks for the suggestions about an alternate delimiter and using File::Compare.

The regex ought to have been:

$sourceDir =~ s#/$##;

which would have removed a trailing forward slash at the end of a directory name. What I actually wrote was, as you mention, pointless.

  • Comment on Re: Re: Compare Directories and List Changed or Missing Files