in reply to Re^2: grep usage confusion (eval)
in thread grep usage confusion
grep doesn't eval strings of Perl code.
Oops, you are right! My mistake!
as the original code (which does work)Thanks for pointing that out. Interesting. I was not aware of that usage of grep (always used it with a block).
|
|---|