I sent it again, since I didn't got a reply that satisfy me.
I know I can use the "find.pm". But, I'd like to know why the recoursive
I did is wrong.
Thanks,
Eli.
-Original Message-
From: Eaton Elyahu Doron [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 200
print "Collecting $d\n" ;
push (@dirs,$d) ;
&find_dirs ($d,$depth) ;
}
close DIR_LS ;
}
return @dirs ;
}
=== End of code
-Original Message-
From: Dave Gray [mailto:[EMAIL P
Hi all,
Why is the following won't work recursively ?
The purpose is simple, search directory inside $depth levels for
directories. But since the stop recursive is when depth is "0", after
the search starts the first directory it stops when it reaches the level
in that first directory and doe