opendir (DIR, "$responseDir") or die "could not open $responseDir :$!\ +n"; my @newFile = grep { $commonField -f $responseDir/$_ } readdir(DIR); closedir(DIR);
In reply to Re: Get Filename using perl
by Anonymous Monk
in thread Get Filename using perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |