Help for this page
# untested foreach my $dir (@subdirs) { ... }#next dir will be processed
find . -type d -maxdepth 1 | perl -lne "system qq(ls $_ > ./$_/_list +.txt)"