projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Re: [PATCH] Re: Modulus operator inconsistency
[p5sagit/p5-mst-13.2.git]
/
configpm
diff --git
a/configpm
b/configpm
index
86abd6d
..
6216f85
100755
(executable)
--- 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";
}