Take a look at File::Compare (perldoc File::Compare). hth, Sudarsan
Roy Peters wrote: > I have 2 directories: > > x/y/z and a/b/c > > within both directories, I have the same files say a1.c thro a10.c > > I would like to write a perl script to go through all the files in each > directory and print out the filename if there is a difference between the > corresponding files. > > I know of many ways to do this, but is there an elegant way to do this > with all native perl functions? > > Thanks. > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
