Skip Menu |
 

This queue is for tickets about the Wx CPAN distribution.

Report information
The Basics
Id: 105467
Status: open
Priority: 0/
Queue: Wx

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

Bug Information
Severity: (no value)
Broken in:
  • 0.9927
  • 0.9928
Fixed in: (no value)

Attachments


Subject: build/Wx/build/Utils.pm: "Unescaped left brace in regex is deprecated"
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/
Download (untitled) / with headers
text/plain 482b
Please try the attached patch that works on latest Wx 0.9928. On Wed Jun 24 08:04:58 2015, DOLMEN wrote: Show quoted text
> 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/
Subject: Wx-0.9928-deprecated-regexp.patch
--- 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 );


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.