Dan Anderson wrote:
> 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
On Thursday, Nov 6, 2003, at 10:21 US/Pacific, Dan Anderson wrote:
[..]
How do I escape spaces? Perldoc glob doesn't say.
[..]
an interesting problem, one thing that may influence
the problem is how your underlying shell does the
'expansion' - as the perldoc -f glob notes, with
perl 5.6 this is
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 tryi