in reply to How to find matching file names and build a @AOA using File::Find
#!/usr/bin/perl -w
use strict;
chdir '/path/to/your/dir';
my @AoA;
push (@AoA , map { ['Afj'.$1,'Cfj'.$1]} /^Afj(.*)/) while (<*>);
print map{$_->[0] , " , ", $_->[1], "\n"} @AoA;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to find matching file names and build and @AOA using File::Find
by Tanktalus (Canon) on Jul 07, 2005 at 13:20 UTC |