Perl Monk, Perl Meditation | |
PerlMonks |
Re: A better regexby mildside (Friar) |
on Sep 24, 2003 at 01:35 UTC ( [id://293759]=note: print w/replies, xml ) | Need Help?? |
Your regex question has been answered, but I noticed you used: 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!
In Section
Seekers of Perl Wisdom
|
|