use File::Find::Rule;
my @array = File::Find::Rule->directory->in('/home');
1
solved listing directories and sub-directories to an array with path;
use File::Find::Rule;
my @array = File::Find::Rule->directory->in('/home');
1
solved listing directories and sub-directories to an array with path;