Bill Luebkert wrote:
>Roode, Eric wrote:
>> Thanks, Bill.
>> 
>> However, File::DosGlob does not appear to work if any of the path 
>> components contain spaces.
>> (Which, in the actual case I was working on, they do).
>
>Must have a bug - you can still use regular glob with /'s instead of
\'s as described in last post.


Yes, that's true.  Although a little experimentation shows that
the spaces have to be prefixed with backslashes for glob() to work
properly.

So it looks like I'll have to take the user's input and
    tr/\\/\//;
    s/ /\\ /g;

Sound about right?

Eric
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to