From: Yitzchak Scott-Thoennes Date: Tue, 29 Jan 2002 01:13:09 +0000 (-0800) Subject: perl -V: (was: Re: Inline::C and Perl objects with C API's) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cb551bf945dbea50db7071001928adfecb0d1bfc;p=p5sagit%2Fp5-mst-13.2.git perl -V: (was: Re: Inline::C and Perl objects with C API's) Message-ID: p4raw-id: //depot/perl@14497 --- diff --git a/configpm b/configpm index 86abd6d..6216f85 100755 --- a/configpm +++ b/configpm @@ -249,7 +249,7 @@ sub config_sh { sub config_re { my $re = shift; - my @matches = ($config_sh =~ /^$re=.*\n/mg); + my @matches = grep /^$re=/, split /^/, $config_sh; @matches ? (print @matches) : print "$re: not found\n"; }