Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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?
Happy-the-monk .o0O(j'en ai marre de vos Connerys.)
[marto]: Yesch!
[Happy-the-monk]: s/j'en/Sean/g;
[LanX]: often sounds like Low German

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2018-04-23 10:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?