my $info = grep "$prop", <FILE>; # or my @lines = grep "$prop", <FILE>; [download]
In reply to Re: storing grep output to variable by pelagic in thread storing grep output to variable by Anonymous Monk