[dh-make-perl] 01/03: Quote left brace in regex. Gives warning under perl 5.22
Damyan Ivanov
dmn at moszumanska.debian.org
Tue Jun 16 19:04:04 UTC 2015
This is an automated email from the git hooks/post-receive script.
dmn pushed a commit to branch master
in repository dh-make-perl.
commit 9b6e588b00c643d6b6c4a10459152f41e073fcff
Author: Damyan Ivanov <dmn at debian.org>
Date: Tue Jun 16 18:35:04 2015 +0000
Quote left brace in regex. Gives warning under perl 5.22
Closes: #788894
---
lib/Debian/Control/Stanza.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Debian/Control/Stanza.pm b/lib/Debian/Control/Stanza.pm
index 58f6114..ce8405b 100644
--- a/lib/Debian/Control/Stanza.pm
+++ b/lib/Debian/Control/Stanza.pm
@@ -268,7 +268,7 @@ sub as_string
# FIXME: this relies on $v being sorted
my ( @pre_dollar, @dollar, @post_dollar );
for ( @$v ) {
- if ( /^\${.+}$/ ) {
+ if ( /^\$\{.+}$/ ) {
push @dollar, $_;
}
elsif (@dollar) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/dh-make-perl.git
More information about the Pkg-perl-cvs-commits
mailing list