my @dirs.push: [ $_.split('/') ] for @paths;