Skip Menu |
 

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 77468
Status: resolved
Priority: 0/
Queue: ExtUtils-MakeMaker

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

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



Subject: Warnings about {} in regex in 5.17 and later
Download (untitled) / with headers
text/plain 788b
While building latest blead: Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/"DL_FUNCS" => { <-- HERE }/ at t/MM_OS2.t line 45. Could be fixed with this patch: diff --git a/cpan/ExtUtils-MakeMaker/t/MM_OS2.t b/cpan/ExtUtils- MakeMaker/t/MM_OS2.t index 4d88e85..20a6b15 100644 --- a/cpan/ExtUtils-MakeMaker/t/MM_OS2.t +++ b/cpan/ExtUtils-MakeMaker/t/MM_OS2.t @@ -42,7 +42,7 @@ delete $mm->{SKIPHASH}; my $res = $mm->dlsyms(); like( $res, qr/baseext\.def: Makefile/, '... without flag, should return make targets' ); -like( $res, qr/"DL_FUNCS" => { }/, +like( $res, qr/"DL_FUNCS" => \{\s*\}/, '... should provide empty hash refs where necessary' ); like( $res, qr/"DL_VARS" => \[]/, '... and empty array refs too' );
Download (untitled) / with headers
text/plain 963b
On Sun May 27 09:21:48 2012, YVES wrote: Show quoted text
> While building latest blead: > > Unescaped left brace in regex is deprecated, passed through in regex; > marked by <-- HERE in m/"DL_FUNCS" => { <-- HERE }/ at t/MM_OS2.t line > 45. > > Could be fixed with this patch: > > diff --git a/cpan/ExtUtils-MakeMaker/t/MM_OS2.t b/cpan/ExtUtils- > MakeMaker/t/MM_OS2.t > index 4d88e85..20a6b15 100644 > --- a/cpan/ExtUtils-MakeMaker/t/MM_OS2.t > +++ b/cpan/ExtUtils-MakeMaker/t/MM_OS2.t > @@ -42,7 +42,7 @@ delete $mm->{SKIPHASH}; > my $res = $mm->dlsyms(); > like( $res, qr/baseext\.def: Makefile/, > '... without flag, should return make targets' ); > -like( $res, qr/"DL_FUNCS" => { }/, > +like( $res, qr/"DL_FUNCS" => \{\s*\}/, > '... should provide empty hash refs where necessary' ); > like( $res, qr/"DL_VARS" => \[]/, '... and empty array refs too' );
I confirm that this warning continues to appear when running 'make test' for Perl 5 blead.


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.