Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: globing directory names with spaces

by kschwab (Priest)
on Sep 16, 2002 at 20:12 UTC ( #198358=note: print w/ replies, xml ) Need Help??

in reply to globing directory names with spaces

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.

Comment on Re: globing directory names with spaces

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://198358]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (15)
As of 2015-10-07 13:43 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (186 votes), past polls