Skip Menu |

This queue is for tickets about the RT-Client-REST CPAN distribution.

Report information
The Basics
Id: 106795
Status: resolved
Priority: 0/
Queue: RT-Client-REST

People
Owner: Nobody in particular
Requestors: mandrews [...] bit0.com
Cc:
AdminCc:

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



Subject: Deprecation warnings when run on Perl 5.22
Date: Mon, 31 Aug 2015 16:45:14 -0400
To: bug-RT-Client-REST [...] rt.cpan.org
From: Mike Andrews <mandrews [...] bit0.com>
When run under Perl 5.22, these two deprecation warnings are generated: Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/[a-z][\w-]*|C(?:ustom)?F(?:ield)?-[#\s\w:()?/-]+|CF\.{ <-- HERE [#\s\w:()?/-]+}/ at /usr/local/lib/perl5/site_perl/RT/Client/REST/Forms.pm line 17. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^(?:cf|customfield)(?:-|\.{ <-- HERE )([#\s\w_:()?/-]+)/ at /usr/local/lib/perl5/site_perl/RT/Client/REST/Object.pm line 466. The patch is pretty simple (and attached): stick '\' before {

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Thanks for the patch, Mike! Your patch has been released with v0.50. The related commit is https://github.com/RT-Client-REST/RT-Client-REST/commit/2d79bed9683f717f5d25404a2125e74b6b336ddd Best Regards, Sarvesh