CC: | bug-data-domain [...] rt.cpan.org |
Subject: | Data::Domain emits warnings on perl 5.18 |
Date: | Sun, 16 Jun 2013 19:04:21 +0100 |
To: | dami [...] cpan.org |
From: | David Cantrell <david [...] cantrell.org.uk> |
On perl 5.18.0, smartmatch and given/when have been marked as being
experimental, and as a consequence:
Smartmatch is experimental at /Users/david/perl-5.18.0/lib/site_perl/5.18.0/Data/Domain.pm line 247.
when is experimental at /Users/david/perl-5.18.0/lib/site_perl/5.18.0/Data/Domain.pm line 409.
when is experimental at /Users/david/perl-5.18.0/lib/site_perl/5.18.0/Data/Domain.pm line 410.
... etc ...
--- /Users/david/perl-5.18.0/lib/site_perl/5.18.0/Data/Domain.pm~ 2013-06-16 18:58:37.000000000 +0100
+++ /Users/david/perl-5.18.0/lib/site_perl/5.18.0/Data/Domain.pm 2013-06-16 19:01:24.000000000 +0100
@@ -4,6 +4,7 @@
use 5.010;
use strict;
use warnings;
+use experimental 'smartmatch';
use Carp;
use Data::Dumper;
use Scalar::Does 0.007;
@@ -1152,6 +1153,7 @@
#======================================================================
use strict;
use warnings;
+use experimental 'smartmatch';
use Carp;
use Scalar::Does qw/does/;
our @ISA = 'Data::Domain';
--
David Cantrell | Hero of the Information Age
23.5 degrees of axial tilt is the reason for the season