# here is how i'm attempting to get the list of directories however this is recursive and I only want # the list of directories in the specified
# i tried setting no_chdir to 0 but it didn't help
my @folders;
find sub{
push @folders, "$File::Find::name" if (-d $File::Find::name);
},$path;
|