Found in GRANTM/XML-Simple-2.18.tar.gz in lib/XML/Simple.pm:
995 $val =~ s{\$\{([\w.]+)\}}{ $self->get_var($1) }ge;
1031 $val =~ s{\$\{(\w+)\}}{ $self->get_var($1) }ge;
% make test
[...]
t/0_Config.t .. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([\w.]+)}/ at /tmp/tmp.4uMUAQPZaT/XML-Simple-2.18-cUi3UY/blib/lib/XML/Simple.pm line 995.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE (\w+)}/ at /tmp/tmp.4uMUAQPZaT/XML-Simple-2.18-cUi3UY/blib/lib/XML/Simple.pm line 1031.
# Package Version
# perl 5.17.0
# XML::Simple 2.18
# Storable 2.35
# XML::Parser 2.41
# XML::SAX 0.99
# XML::NamespaceSupport 1.11
t/0_Config.t .. ok
Look like perl miscounts one backslash. I would expect that the regexp
is accepted by perl because the brace is escaped.
--
andreas
Thread Next