in reply to Whitespace protection in glob expression for Windows network paths
use File::Glob 'bsd_glob'; my $path = "c:/Program Files"; # $path =~ s/ /[ ]/g; # Oh, not even required print $_, $/ for bsd_glob("$path/*");
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Whitespace protection in glob expression for Windows network paths (bsd_glob)
by Another Ed (Sexton) on Nov 12, 2014 at 11:24 UTC |