my $info = grep "$prop", ; # or my @lines = grep "$prop", ;