Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Compare Directories and List Changed or Missing Files

by sierrathedog04 (Hermit)
on Aug 16, 2001 at 18:37 UTC ( #105394=note: print w/ replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://105394]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2016-02-12 04:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (388 votes), past polls