This is far from the "best" way. A much shorter (and less resource intensive, and more portable) method is:
my @list_of_direcories = grep(-d, <$path/*>);
| We're not surrounded, we're in a target-rich environment! |
|---|
In reply to Re: Answer: How do I find directories within directories using : parse_dir(`ls -l`)
by jasonk
in thread How do I find directories within directories using : parse_dir(`ls -l`)
by hkoza
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |