Added a grep method that will parse and behave as expected when invoked in the form:
Added a grep method that will parse and behave as expected when invoked in the form:

   "@list.grep({ $_ % 2 })" or "(1, 2, 3, 4, 5).grep({ $_ % 2 })"

Other forms (ie. "grep { $_ % 2 }, @list" and "@list.grep:{ $_ % 2 }" don't correctly parse the block and don't work as expected.


git-svn-id: 6e74a02f85675cec270f5d931b0f6998666294a3@26194 d31e2699-5ff4-0310-a27c-f18f2fbe73fe

ashgti/parrot,ashgti/parrot,ashgti/parrot,ashgti/parrot,ashgti/parrot,ashgti/parrot,ashgti/parrot