### I would use opendir, a for-loop on readdir and then select: opendir (D_E, ":"); ## or whatever is my path of desire for (readdir(D_E)) { if (m,(\w),) { ## or whatever is my selection criterion print "\n This file: \"$_\" does contain ". " at least one alphanumeric letter, e.g.: \"$1\""; } }
### HTH, ### Detlef =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. > Martin > > -- > "355/113 -- Not the famous irrational number PI, but an incredible simulation!"