in reply to How to find matching file names and build a @AOA using File::Find

If your dir is '/path/to/your/dir', you can try with:
#!/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;
  • Comment on Re: How to find matching file names and build and @AOA using File::Find

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

    Please do not use the <*> syntax. Please. Use glob '*' instead. Thanks.