On 1/25/06, DiGregorio, Dave <[EMAIL PROTECTED]> wrote: > Is there a way to glob if the directory path has spaces? > > The following does not work > > $sourcePath = "C:/Documents and Settings/xyz/abc ; > > files = glob $sourcePath ;
This seems to work: my @files = glob("C:/Documents\\\ and\\\ Settings/user/*"); print "[$_]\n" for @files; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>