in reply to how to get the all the subdirectories path from the directory
Another alternative is File::Find::Rule:
use File::Find::Rule; my @list = File::Find::Rule->in('/aa'); # OR my @dirs_only = File::Find::Rule->directory()->in('/aa');
In Section
Seekers of Perl Wisdom