in reply to Re^2: execution problem if dir name has space in it's name
in thread execution problem if dir name has space in it's name

Just put use File::Glob; at the top of the script, it helps with space issues even without using bsd_glob.

Replies are listed 'Best First'.
Re^4: execution problem if dir name has space in it's name
by ikegami (Patriarch) on Jul 08, 2009 at 15:33 UTC

    No quite. You need use File::Glob qw( glob );. Builtins aren't overridden unless explicitly imported.

    $ perl -le' print for glob "a b"' a b $ perl -le'use File::Glob; print for glob "a b"' a b $ perl -le'use File::Glob qw( glob ); print for glob "a b"' a b