Skip Menu |

This queue is for tickets about the Perl-Critic-Pulp CPAN distribution.

Report information
The Basics
Id: 127777
Status: open
Priority: 0/
Queue: Perl-Critic-Pulp

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

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



Subject: Having more than one /x regexp modifier is deprecated
Test suite fails on some of my smokers: ... PERL_DL_NONLAZY=1 "/opt/perl-5.22.2t/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t Having more than one /x regexp modifier is deprecated at /home/cpansand/.cpan/build/2018112110/Perl-Critic-1.132-T65PzJ/blib/lib/Perl/Critic/Policy/ValuesAndExpressions/RequireInterpolationOfMetachars.pm line 110. # Saw 1 warning(s): # # Trace begun at t/MyTestHelpers.pm line 60 # MyTestHelpers::nowarnings_handler('Having more than one /x regexp modifier is deprecated at /home/cpansand/.cpan/build/2018112110/Perl-Critic-1.132-T65PzJ/blib/lib/Perl/Critic/Policy/ValuesAndExpressions/RequireInterpolationOfMetachars.pm line 110.^J') called at /home/cpansand/.cpan/build/2018112110/Perl-Critic-1.132-T65PzJ/blib/lib/Perl/Critic/Policy/ValuesAndExpressions/RequireInterpolationOfMetachars.pm line 110 ... (etc) ...
Subject: Re: [rt.cpan.org #127777] Having more than one /x regexp modifier is deprecated
Date: Thu, 22 Nov 2018 18:08:13 +1100
To: "Slaven_Rezic via RT" <bug-Perl-Critic-Pulp [...] rt.cpan.org>
From: Kevin Ryde <user42_kevin [...] yahoo.com.au>
"Slaven_Rezic via RT" <bug-Perl-Critic-Pulp@rt.cpan.org> writes: Show quoted text
> > Having more than one /x regexp modifier is deprecated at /home/cpansand/.cpan/build/2018112110/Perl-Critic-1.132-T65PzJ/blib/lib/Perl/Critic/Policy/ValuesAndExpressions/RequireInterpolationOfMetachars.pm line 110.
Thanks, though I believe that module comes from Perl::Critic itself rather than me. A stray double-up there, I suppose, my $cfws = qr/$comment|\s+/xx; (I run warnings fatal in tests to show up problems in my code, but it sometimes shows up other peoples code :-)