Thanks for a detailed explanation and quite useful pointers. To be honest , I never realized so much stuff is already there in perlfaq for which I keep wasting my time googling around.
I have a doubt..When you say "canonicalize the names to a common form" ,Does it mean that determining a pattern that would be used to identify the file names from the array. If so then I am already doing that
and then I grep this pattern in the other array. From the code in perlfaq, I get to know @difference, union of both arrays and intersection between the two arrays. If I have to pair up the values from alpha and gamma like hash{abc_12342_tick.xml.alphaprod} = abc_12342_tick.xml.gammaprod , I still will have to grep for the pattern in any one of the arrays.my $patt=substr($_,0,index($_,"xml"));
Hope I am not badly missing something here
In reply to Re^2: File pairing from different directories
by Zoop
in thread File pairing from different directories
by Zoop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |