in reply to A better regex
my @files=`ls AFILE_*zip BFILE_*zip `;Since ls is dependent on your operating system, a more general way to do this would be:
my @files = glob('AFILE_*zip BFILE_*zip');
Cheers!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: A better regex
by tstock (Curate) on Sep 24, 2003 at 03:26 UTC |