in reply to Re^2: Finding nested directories from a string list.in thread Finding nested directories from a string list.
my @sorted_paths = sort { length($a) <=> length($b) } keys %paths; [download]
-QM -- Quantum Mechanics: The dreams stuff is made of