Use formerly experimental Perl features with "use experimental"

This is semantically equivalent to use feature + no warnings, but less
noisy. I've also added comments to indicate when the line can be
removed.
This commit is contained in:
Juerd Waalboer 2023-09-10 02:08:29 +02:00
parent c465ae1445
commit 59387ddba4
10 changed files with 12 additions and 21 deletions

View file

@ -2,8 +2,7 @@ package RevBank::Cart::Entry;
use v5.28;
use warnings;
use feature qw(signatures);
no warnings qw(experimental::signatures);
use experimental 'signatures'; # stable since v5.36
use Carp qw(carp croak);
use RevBank::Users;