summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYitzchak Scott-Thoennes <sthoenna@efn.org>2002-01-28 17:13:09 -0800
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-30 04:40:56 +0000
commitcb551bf945dbea50db7071001928adfecb0d1bfc (patch)
tree92ab9c85b3f1e3c89987ccb23a2f72888cb6ce7e
parentd820be449ce8e26e00bfc816fad88d234aba9cb9 (diff)
downloadperl-cb551bf945dbea50db7071001928adfecb0d1bfc.tar.gz
perl -V: (was: Re: Inline::C and Perl objects with C API's)
Message-ID: <lemV8gzkgu/K092yn@efn.org> p4raw-id: //depot/perl@14497
-rwxr-xr-xconfigpm2
1 files changed, 1 insertions, 1 deletions
diff --git a/configpm b/configpm
index 86abd6d487..6216f85ae0 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";
}