Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 browsing the Monastery: (5)
As of 2016-10-01 23:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (9 votes). Check out past polls.