|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re: globing directory names with spacesby kschwab (Vicar) |
| on Sep 16, 2002 at 16:12 UTC ( [id://198358]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Another option is to use File::Glob's bsd_glob
instead of CORE::glob. File::Glob is having trouble with the spaces because it's designed to...per the docs: Since v5.6.0, Perl's CORE::glob() is implemented in terms of bsd_glob(). Note that they don't share the same prototype--CORE::glob() only accepts a single argument. Due to historical reasons, CORE::glob() will also split its argument on whitespace, treating it as multiple patterns, whereas bsd_glob() considers them as one pat tern. See the node called globing files with spaces problem for more info.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||