in reply to storing grep output to variable
my $info = grep "$prop", <FILE>; # or my @lines = grep "$prop", <FILE>; [download]