use File::Glob 'bsd_glob'; my $path = "c:/Program Files"; # $path =~ s/ /[ ]/g; # Oh, not even required print $_, $/ for bsd_glob("$path/*");
- tye
In reply to Re: Whitespace protection in glob expression for Windows network paths (bsd_glob)
by tye
in thread Whitespace protection in glob expression for Windows network paths
by Another Ed
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |