in reply to Re: each on reference is experimental at
in thread each on reference is experimental at

I think this particular feature is likely to be removedThis particular feature has been removed from newer versions of Perl, so it's definitely not the best solution.

Also, there's no reason to disable all experimental warnings when you can just disable the one in question.

no warnings qw( experimental::autoderef ); # 5.18+
or
no if $] >= 5.018, warnings => "experimental::autoderef"; # 5.14+