in reply to Whitespace protection in glob expression for Windows network paths

Maybe you'll struggle less with readdir instead of glob in this case.
  • Comment on Re: Whitespace protection in glob expression for Windows network paths

Replies are listed 'Best First'.
Re^2: Whitespace protection in glob expression for Windows network paths
by Another Ed (Sexton) on Nov 11, 2014 at 14:55 UTC
    Thanks toolic for that good suggestion. That was uncharted territory for me. Just checked it out, and it seems to work very well. Bye bye glob on Windows!
        Thanks. I've been given 2 solutions that work well: directory handles, and bsd_glob. Probably 15 minutes to get a feel for each, after which additional coding time is negligible. I tend to steer clear of non-core modules unless they provide more significant advantages, but I'm sure both the ones to which you refer are very worthy. I'm a lover of muesli, so whole grains are fine by me. Do users of File::Find::Rule tend to be overweight? :-)