Skip Menu |

This queue is for tickets about the Net-Xero CPAN distribution.

Report information
The Basics
Id: 105007
Status: open
Priority: 0/
Queue: Net-Xero

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

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



Subject: Test failures: given is experimental
Test suite fails for perl >= 5.18, because given/when/smartmatch is now marked as experimental. See http://matrix.cpantesters.org/?dist=Net-Xero%200.43 for a pass/fail overview.
Release 0.44 averts the warning by adding this line: no warnings 'experimental::smartmatch'; But this makes all perls < 5.18 fail with: Error: Unknown warnings category 'experimental::smartmatch' (http://www.cpantesters.org/cpan/report/678aeb0e-db73-11e6-ab41-c893a58a4b8c) An alternative could be to avoid 'given' altogether (perlfaq 7 has suggestions); or to tune the import list to warnings as in: no warnings $] < 5.018 ? () : ('experimental::smartmatch');