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.
In reply to Re: globbing on remote network paths
by Corion
in thread globbing on remote network paths from a linuxbox
by xorl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |