in reply to
Reading specific files
To deal with the files starting with "R" I have tried using variations on glob
my @files = glob("$directory/R*");
[download]
No need for a regular expression. You might have to
use File::Glob 'glob';
if files or directories in your pattern have imbedded whitespace.
Comment on
Re: Reading specific files
Select
or
Download
Code
In Section
Seekers of Perl Wisdom