Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to move through the subdirectories in the current directory and struggling. I have found this code
which i don't fully understand but it prints the subdirectories.find ( sub { next unless -d; print $File::Find::name, "\n"; }, '.' );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: recursive subdirectories
by jethro (Monsignor) on Jan 28, 2011 at 15:20 UTC | |
|
Re: recursive subdirectories
by chrestomanci (Priest) on Jan 28, 2011 at 15:36 UTC | |
by Anonymous Monk on Jan 28, 2011 at 15:53 UTC | |
|
Re: recursive subdirectories
by Anonymous Monk on Jan 28, 2011 at 15:10 UTC | |
|
Re: recursive subdirectories
by locked_user sundialsvc4 (Abbot) on Jan 28, 2011 at 17:42 UTC |