Re: Question on File::Find.

2005-05-10 Thread John Doe
Am Dienstag, 10. Mai 2005 13.54 schrieb Randal L. Schwartz: > > "John" == John Doe <[EMAIL PROTECTED]> writes: > > John> Something like (untested): > > John> # build hashes with pairs (filename=>0) > John> # > John> my %first=map {$_=>1} find (sub {}, $dir1); > John> my %second=map {$_=>1} find

Re: Question on File::Find.

2005-05-10 Thread Randal L. Schwartz
> "John" == John Doe <[EMAIL PROTECTED]> writes: John> Something like (untested): John> # build hashes with pairs (filename=>0) John> # John> my %first=map {$_=>1} find (sub {}, $dir1); John> my %second=map {$_=>1} find (sub {}, $dir2); Good thing that "untested" is in there, because find()

Re: Question on File::Find.

2005-05-10 Thread John Doe
Am Dienstag, 10. Mai 2005 08.34 schrieb [EMAIL PROTECTED]: > Hi All, > > I'm trying to find a way to compare the files and folders contained within > 2 separate directory structures to determine whether they are identical or > not. For this I tried using the File::Find module but got stuck at a > c