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).


Eric

-----Original Message-----
From: Bill Luebkert [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 06, 2007 6:06 PM
To: Roode, Eric
Cc: [EMAIL PROTECTED]
Subject: Re: glob doesn't work on UNC paths?

Try:

use strict;
use warnings;
use File::DosGlob;

print "$_\n" foreach File::DosGlob::glob ('\\\\Dollar\\c\\Temp\\*');

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

Reply via email to