in reply to Re^2: Using grep and glob to find directories containing file
in thread Using grep and glob to find directories containing file
> grep(@{[glob("$_/f*")]}
there are easier ways to count in list context,
grep { () = <$_/*> } <dir{1,2,3}>
(kind of a "half goatse" ;)
Cheers Rolf
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Using grep and glob to find directories containing file
by 7stud (Deacon) on Feb 04, 2013 at 00:35 UTC | |
by LanX (Saint) on Feb 04, 2013 at 00:52 UTC | |
by 7stud (Deacon) on Feb 04, 2013 at 01:26 UTC | |
by muba (Priest) on Feb 04, 2013 at 02:52 UTC | |
by LanX (Saint) on Feb 04, 2013 at 09:41 UTC | |
by 7stud (Deacon) on Feb 04, 2013 at 04:03 UTC | |
by Anonymous Monk on Feb 04, 2013 at 04:06 UTC |
In Section
Seekers of Perl Wisdom