|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: Using grep in a scalar contextby choroba (Prior) |
| on Feb 06, 2013 at 12:52 UTC ( #1017414=note: print w/ replies, xml ) | Need Help?? |
|
Works for me: The documentation of grep clearly states: In scalar context, returns the number of times the expression was true.What input do you have? What output do you expect?
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||