Hi:

In writing a perl script to read the contents of a directory on a windows
system, i noticed that there are some directory names have spaces in them.
How can I modify the line below so it would ignore the spaces in the
directory name and still process it ?

opendir DIR, $path or die "Can't open $path: $!";

P.S In the above line, $path is the directory path passed to the program as
a command line argument.

Thanks much.

Reply via email to