Sat Dec 26 05:44:48 2015: Request 105467 was acted upon.
Transaction: Correspondence added by ARPI
       Queue: Wx
     Subject: build/Wx/build/Utils.pm: "Unescaped left brace in regex is 
deprecated"
   Broken in: 0.9927
    Severity: (no value)
       Owner: Nobody
  Requestors: dol...@cpan.org
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=105467 >


Please try the attached patch that works on latest Wx 0.9928.

On Wed Jun 24 08:04:58 2015, DOLMEN wrote:
> When building on perl 5.22, during "perl Makefile.PL":
> 
> Unescaped left brace in regex is deprecated, passed through in regex;
> marked by
> <-- HERE in m/^\s*\%include{ <-- HERE ([^}]+)}\s*;\s*$/ at
> /xxxxxx/.cpan/build/Wx-0.9927-1jCl1f/build/Wx/build/Utils.pm line 110.
> 
> 
> 
> --
> Olivier Mengué - http://perlresume.org/DOLMEN -
> https://gratipay.com/dolmen/



--- build/Wx/build/Utils.pm.old	2015-12-26 10:46:48.373729854 +0200
+++ build/Wx/build/Utils.pm	2015-12-26 10:46:56.561134264 +0200
@@ -107,7 +107,7 @@
     m/^\s*INCLUDE:\s+(.*)$/ and $file = $1 and $arr = \@xsinclude;
     m/^\s*INCLUDE_COMMAND:\s+.*\s(\S+\.(?:xsp?|h))\s*/ and $file = $1 and
       $arr = \@xsinclude;
-    m/^\s*\%include{([^}]+)}\s*;\s*$/ and $file = $1 and $arr = \@xsinclude;
+    m/^\s*\%include\{([^}]+)\}\s*;\s*$/ and $file = $1 and $arr = \@xsinclude;
 
     if( defined $file ) {
       $file = catfile( split '/', $file );

Reply via email to