Brian Raven wrote:
> 
> You could also try:
> 
> print "$_\n" foreach glob('//Dollar/c/Temp/*');
> 
> 'perldoc -f glob' refers you to 'perldoc File::Glob' which has a note on
> win32 usage.

That would work - or assuming you have the path already in DOS
format and want to leave it - you could just make a copy and
RE it leaving the orig intact:

my $path = '\\\\Dollar\C\Temp';

(my $gpath = $path) =~ s|\\|/|g;
print "$_\n" foreach glob "$gpath/*";
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to