in reply to Re: Is there a better way.
in thread Is there a better way.
Instead of running an external program to get a list of file names just use Perl's built-in glob function:
my @files = glob "$dir/*$caseNumber*";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Is there a better way.
by Lawliet (Curate) on Feb 24, 2009 at 01:47 UTC | |
by graff (Chancellor) on Feb 24, 2009 at 03:28 UTC | |
by jwkrahn (Abbot) on Feb 24, 2009 at 03:21 UTC | |
by k0d3Monkee (Initiate) on Feb 25, 2009 at 00:08 UTC |