in reply to storing grep output to variable

Your problem are the double-quotes inside the single-quotes.
$prop is probably used as searchstring with the $-sign.

Update
Or are you interested in the matched lines?
my $info = grep "$prop", <FILE>; # or my @lines = grep "$prop", <FILE>;

pelagic