use File::Find; sub get_sub_dirs { my @return; find sub { push @return, $File::Find::name if -d; }, @_; @return; }
-- Randal L. Schwartz, Perl hacker
In reply to Re: Return an Array of Sub-Dir Names
by merlyn
in thread Return an Array of Sub-Dir Names
by cynix
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |