in reply to Batch processing files in a directory
my approach?
my @files=(); opendir(DIR,"/path/to/my/dir") or die "/path/to/my/dir: $!"; while(my $fname=readdir(DIR)){ push @files,$fname if $fname =~ m@*\.ptseq$@; } closedir(DIR);
This part of your requirements are not clear to me. Process them how?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Batch processing files in a directory
by newbie1991 (Acolyte) on Feb 13, 2013 at 15:01 UTC | |
by blue_cowdawg (Monsignor) on Feb 13, 2013 at 15:26 UTC |