Skip Menu |
 

This queue is for tickets about the Mac-Carbon CPAN distribution.

Report information
The Basics
Id: 78503
Status: new
Priority: 0/
Queue: Mac-Carbon

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

Bug Information
Severity: Unimportant
Broken in: 0.82
Fixed in: (no value)



Subject: Noisy tests (Unescaped left brace in regex is deprecated)
Download (untitled) / with headers
text/plain 316b
Perl 5.17 deprecates unescaped literal left braces in regular expressions, and emits a warning when they are encountered. This makes the Mac-Carbon test suite noisy. The attached patch fixes the problem. I have called this unimportant because it is only warnings at this point, and in a development release at that.
Subject: Mac-Files.patch
Download Mac-Files.patch
text/x-diff 488b
--- Files/Files.old 2009-09-08 02:12:37.000000000 -0400 +++ Files/Files.pm 2012-07-21 12:05:12.000000000 -0400 @@ -57,7 +57,7 @@ my @constants; seek DATA, 0, 0; # this reads the entire script my $data = do { local $/; <DATA> }; - while ($data =~ m|=item (\w+)\s+(?:([^\n]+)\n\s+)?=cut\s+sub \1 \(\) { (\S+) }|g) { + while ($data =~ m|=item (\w+)\s+(?:([^\n]+)\n\s+)?=cut\s+sub \1 \(\) \{ (\S+) \}|g) { my($symbol, $desc, $value ) = ($1, $2, $3); push @constants, $symbol; }


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.