When I use:

my @foo = glob "/foo/bar baz/*";
or
my @foo = glob "/foo/bar\ baz/*";

Glob doesn't return the files in those directories, @foo equals
("/foo/bar");

However, if I do:

my @foo = glob "/foo/bar*baz/*";

@foo equals an array with all the files in "/foo/bar\ baz/", which is
what I"m trying for.

How do I escape spaces?  Perldoc glob doesn't say.

Thanks in advance,

Dan

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to