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.
In reply to Re: Re: Compare Directories and List Changed or Missing Files
by sierrathedog04
in thread Compare Directories and List Changed or Missing Files
by sierrathedog04
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |