Skip to content

Commit

Permalink
Escaped brace, addressing deprecation warning:
Browse files Browse the repository at this point in the history
Unescaped left brace in regex is deprecated, passed through in regex
Tested with Perl 5.10.1 and 5.22.0
  • Loading branch information
jonasbn committed Dec 16, 2015
1 parent df7761f commit da7d030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Convert/NLS_DATE_FORMAT.pm
Expand Up @@ -110,7 +110,7 @@ sub posix2oracle {
my ($format) = @_;
# regex from DateTime
$format =~ s/
(%{\w+})
(%\{\w+})
/
$formats{$1} ? $formats{$1} : "\%$1"
/sgex;
Expand Down

2 comments on commit da7d030

@jonasbn
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mentioned the above patch in RT (https://rt.cpan.org/Ticket/Display.html?id=79123)

@jonasbn
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Contacted the distribution owner via e-mail available on MetaCPAN.

Please sign in to comment.