On Mon, May 18, 2009 at 19:41, AndrewMcHorney <andrewmchor...@cox.net> wrote: > Charles > > I am getting totally confused. All I want is a simple find function call > what will return all the files that are in c:\*.*. This is on PC running > windows. I thought you mentioned to use file:find() where one of the > parameters would be a function which would be called once for each file > found. snip
After these two lines run @files will hold every file on the c drive. my @files; find sub { push @files, $File::Find::name if -f }, "c:/"; -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/