Why not just check if the backup exists for each input file using one of the filetest operators -X ?
for my $file (glob('*.xml') ) { if (-r "$file.bak" ) { print "backup found for $file\n"; } }
In reply to Re: comparing contents of two arrays and output differences
by RichardK
in thread comparing contents of two arrays and output differences
by PitifulProgrammer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |