Skip Menu |

This queue is for tickets about the DateTime-Incomplete CPAN distribution.

Report information
The Basics
Id: 78914
Status: resolved
Priority: 0/
Queue: DateTime-Incomplete

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

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



Subject: [PATCH] avoid warning in newer perl versions
Hey Flavio! 5.16 deprecated the use of braces in regexes without escaping them, so here's a small patch to make it work in newer perl versions without triggering the warning. Older perls should all work with this patch as well. Abraço!
Subject: newperls.patch
--- a/DateTime-Incomplete-0.06/lib/DateTime/Incomplete.pm 2011-04-01 08:50:41.000000000 -0300 +++ b/lib/DateTime/Incomplete.pm 2012-08-11 20:54:36.000000000 -0300 @@ -562,7 +562,7 @@ foreach my $f (@formats) { $f =~ s/ - %{(\w+)} + %\{(\w+)\} / if ( $self->can($1) ) {
fixed in DateTime-Incomplete-0.07