Phoenix.pm: Glob limit

Kevin Buettner kev at primenet.com
Fri Oct 22 16:48:47 CDT 1999


On Oct 22,  2:38pm, Giffin Ron-P08295 wrote:

> I'm using glob to build a list (array) of filenames.  There are about 4000
> filenames that the glob should find (*.dat).  I get various errors depending
> on how I call glob.  I would be disappointed if this were a Perl limitation,
> however I'm betting it is a system problem.  Any fixes or workarounds?

I'm betting it's a system limitation as well.  (You didn't say what
kind of system you were running it on or what the various errors were.)

In any event, you might want to try using File::Find or perhaps opendir/
readdir/closedir.  (Personally, I like File::Find.)

Kevin

-- 
Kevin Buettner
kev at primenet.com, kevinb at cygnus.com



More information about the Phoenix-pm mailing list