Perl: the Markov chain saw | |
PerlMonks |
Re^5: Using grep and glob to find directories containing fileby LanX (Saint) |
on Feb 04, 2013 at 00:52 UTC ( [id://1016881]=note: print w/replies, xml ) | Need Help?? |
> So...list context on the left, which then creates an anonymous array, which array, when evaluated in boolean/scalar context, produces the length of the array? No arrays involved, not even anonymous! It's just a list-assignment in scalar context. I would say much more performant than the former solution.
Cheers Rolf PS: > Despite the admonition not to use <> for globbing? Source?
In Section
Seekers of Perl Wisdom
|
|