The code you posted only compares the filenames not the content of the files, hence my confusion.
why not shell out to `diff` if that's giving you the results you need? or try something from cpan like Text::Diff ?
In reply to Re^3: comparing contents of two arrays and output differences
by RichardK
in thread comparing contents of two arrays and output differences
by PitifulProgrammer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |