[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-AnyPerl] loop through directories



On Sat, Jul 29, 2000 at 03:11:06PM +0200, allan juul wrote:

> i think iīm able to do this the hard way , but my question is, isnīt
> there a smart way to loop through any possible subdirectory, then exit
> the loop when no more directories present,
> instead of doing this construction:?

Yes, recursion.

You could even use the File::Find module to do all that for you.

Ronald


==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-anyperl-request@macperl.org