Hi all, 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";} } 'else print $val' is just there for debugging, so I can see whats going on... I have a directory with spaces in the name. @arr is breaking it up into seperate elements, so C:\folder\folder with stuff in it comes across as: C:\folder\folder with stuff in it this is being used in a recersive search. I cant get into the directories with spaces. Any ideas how to get past this? TIA, Peter ****** CONFIDENTIALITY NOTICE ****** THIS E-MAIL, INCLUDING ANY ATTACHED FILES, MAY CONTAIN CONFIDENTIAL AND PRIVILEGED INFORMATION FOR THE SOLE USE OF THE INTENDED RECIPIENT(S). ANY REVIEW, USE, DISTRIBUTION, OR DISCLOSURE BY OTHERS IS STRICTLY PROHIBITED. IF YOU ARE NOT THE INTENDED RECIPIENT (OR AUTHORIZED TO RECEIVE INFORMATION FOR THE RECIPIENT), PLEASE CONTACT THE SENDER BY REPLY E-MAIL AND REMOVE ALL COPIES OF THIS MESSAGE. THANK YOU. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]