in reply to Compare Directories and List Changed or Missing Files

Some suggestions:

-- Hofmator

Replies are listed 'Best First'.
Re: Re: Compare Directories and List Changed or Missing Files
by sierrathedog04 (Hermit) on Aug 16, 2001 at 18:37 UTC
    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.