my $dir = shift || "client"; my @list = grep -d, glob "*$dir*/*"; $" = $/; print "@list"
In reply to Re^2: Get list of first level subdirectories
by itub
in thread Get list of first level subdirectories
by gwhite
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |