on Wed, 28 Aug 2002 20:34:31 GMT, Peter Farrar wrote:
> Here is the code I'm having problems with:
>
> my @arr = glob("$here\\*");
> foreach $val (@arr){
> if (-d $val){
> travel_dirs($val, $level-1) if $level > 0;
> }else{print"$val\n";}
> }
[...]
> I have a directory with spaces in the name.
> I cant get into the directories with spaces.
> Any ideas how to get past this?
You could use the opendir-readdir-closedir functions, but for directory
traversal I would use File::Find.
--
felix
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]