This seems to give the result I was looking for, though it's not exactly identical to any of the great solutions you all gave. Anyway thanks for curing my ignorance of grep - at least partially :)my @lines = grep /$prop/, <FILE>;
In reply to Re^2: storing grep output to variable
by Anonymous Monk
in thread storing grep output to variable
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |