J
jiing24
I searched CPAN and found a module that is called
File:
ircmp(http://search.cpan.org/~schulte/File-Dircmp-1.30/Dircmp.pm)
, and I think it may be useful.
There are two folders, name '1' and '2' in my C:\ under windows. I
want to compare all the files in them recursively.
I have already use ppm to install File:
ircmp and successfully.
And wrote the code as following:
use strict;
use warnings;
use File:
ircmp;
my $dir1= "c:\\1\\";
my $dir2= "c:\\2\\";
my $diff= 1;
my $suppress = 1;
my @r = dircmp($dir1, $dir2, $diff, $suppress);
There are lots of warnings, but I can not figure out the argument $diff
and $suppress. Could anyone help me?
Thanks in advanced..
/jiing/
File:
, and I think it may be useful.
There are two folders, name '1' and '2' in my C:\ under windows. I
want to compare all the files in them recursively.
I have already use ppm to install File:
And wrote the code as following:
use strict;
use warnings;
use File:
my $dir1= "c:\\1\\";
my $dir2= "c:\\2\\";
my $diff= 1;
my $suppress = 1;
my @r = dircmp($dir1, $dir2, $diff, $suppress);
There are lots of warnings, but I can not figure out the argument $diff
and $suppress. Could anyone help me?
Thanks in advanced..
/jiing/