in reply to globing directory names with spaces
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 |