Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Re: Compare Directories and List Changed or Missing Filesby sierrathedog04 (Hermit) |
on Aug 16, 2001 at 18:37 UTC ( [id://105394]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Cool Uses for Perl
|
|