in reply to globbing on remote network paths from a linuxbox
glob does not have sane defaults regarding whitespace. I recommend the following line at the top of your program to enable sane whitespace defaults for glob by replacing it with File::Glob:
use File::Glob qw(bsd_glob);
That will remove the use of whitespace as a glob spec separator and will make glob() work the way it should, by simply wildcard-expanding its single argument.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: globbing on remote network paths
by xorl (Deacon) on Sep 25, 2008 at 18:05 UTC |