Skip Menu |

This queue is for tickets about the Convert-Binary-C CPAN distribution.

Report information
The Basics
Id: 105097
Status: resolved
Priority: 0/
Queue: Convert-Binary-C

People
Owner: Nobody in particular
Requestors: dom [...] cpan.org
Cc: PLICEASE [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.76
Fixed in: (no value)



Subject: Unescaped left brace in regex is deprecated (warning under perl 5.22)
Forwarded from <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787539> The following warning appears when running under perl 5.22: Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^}]+)}/ at ctlib/arch.pl line 92. The changelog relating to this is at https://metacpan.org/source/RJBS/perl-5.22.0/pod/perldelta.pod#L492
On Mon Jun 08 17:45:22 2015, DOM wrote: Show quoted text
> Forwarded from > <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787539> > > The following warning appears when running under perl 5.22: > > Unescaped left brace in regex is deprecated, passed through in regex; > marked by <-- HERE in m/\${ <-- HERE ([^}]+)}/ at ctlib/arch.pl line > 92. > > The changelog relating to this is at > > https://metacpan.org/source/RJBS/perl-5.22.0/pod/perldelta.pod#L492
This has now been fixed in Debian; see the attached patch. Cheers, Dominic.
Subject: unescaped-brace.patch
Description: Unescaped left brace in regex (deprecated in Perl 5.22) Author: Damyan Ivanov <dmn@debian.org> Forwarded: not-needed (trivial) --- a/ctlib/arch.pl +++ b/ctlib/arch.pl @@ -89,7 +89,7 @@ sub is_big_endian () sub config ($) { local $_ = shift; - s/\${([^}]+)}/$cfg{$1}/g; + s/\$\{([^}]+)}/$cfg{$1}/g; print OUT; }
Thanks for the report! I've actually already fixed this in my repo about 2 years ago, but never got around to making an actual release. I'm working on that now.
Fixed in Convert::Binary::C 0.77.