You are missing a . in your pattern:
my $filepattern = qr/(.*).foo__bar_ar/
Also, I'm totally confused about what is in your retrieve files.
Please show (in code blocks) at least the first twenty lines from a Data::Dumper or Data::Dump print of one of your "retrieve" files as it is immediately after it is read in.
In reply to Re^3: Consolidating nstore arrays
by tybalt89
in thread Consolidating nstore arrays
by Speed_Freak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |