there are easier ways to count in list context,
grep { () = <$_/*> } <dir{1,2,3}>
(kind of a "half goatse" ;)
Cheers Rolf
In reply to Re^3: Using grep and glob to find directories containing file
by LanX
in thread Using grep and glob to find directories containing file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |