in reply to globing directory names with spaces

Might wanna just read the directory with DirHandle instead of going all out with File::Find as suggested:

use DirHandle; my $dh = new DirHandle($dir) or die "Can't open $dir: $!"; my @files = (); push @files, $_ while $_ = $dh->read();

--
perl: code of the samurai

Replies are listed 'Best First'.
Re^2: globing directory names with spaces
by Aristotle (Chancellor) on Sep 16, 2002 at 17:17 UTC
    Except he asked how to get the files not only in that directory but in the entire tree below it, something DirHandle won't do for him.

    Makeshifts last the longest.