At 6:35 PM +0200 7/12/03, Martin Buchmann wrote:
Hi all,

i think i just need an idea or a function's name, respectively. I want the user to select a folder with the StandardGetFolder Dialog, that's easy and working but than i want my script to get all files in that folder which have a specific name, say /^result\d{3}/.

I'm sure this is easy done but i don't know how 8-) Is there a function which returns a list of specific files in a given directory? I checked the MacPerl book and the file related pods quickly but found nothing.

Any ideas will be apreciated.

Everyone else has suggested using readdir and opendir and all that jazz.


I say, why bother? Use File::Find and be done.

-jeff

Reply via email to