Change `use feature` to `':5.34`, suppress warnings for try/catch

This commit is contained in:
ngoomie 2024-08-23 23:37:21 -06:00
parent 9c19c8d95a
commit 77365cc0c3
22 changed files with 44 additions and 22 deletions

View File

@ -4,7 +4,8 @@ use utf8;
use strict;
use warnings;
use experimental qw(try);
use feature ':5.20';
no warnings 'experimental::try';
use feature ':5.34';
use Mojo::Base 'Mojolicious', -signatures;
use CharmBoard::Model::Schema;

View File

@ -4,7 +4,8 @@ use utf8;
use strict;
use warnings;
use experimental qw(try);
use feature ':5.20';
no warnings 'experimental::try';
use feature ':5.34';
use Mojo::Base 'Mojolicious::Controller', -signatures;
use Tree::Simple;

View File

@ -4,7 +4,8 @@ use utf8;
use strict;
use warnings;
use experimental qw(try);
use feature ':5.20';
no warnings 'experimental::try';
use feature ':5.34';
use Mojo::Base 'Mojolicious::Controller', -signatures;
use CharmBoard::Util::Crypt::Password;

View File

@ -4,7 +4,8 @@ use utf8;
use strict;
use warnings;
use experimental qw(try);
use feature ':5.20';
no warnings 'experimental::try';
use feature ':5.34';
use Mojo::Base 'Mojolicious::Controller', -signatures;

View File

@ -4,7 +4,8 @@ use utf8;
use strict;
use warnings;
use experimental qw(try);
use feature ':5.20';
no warnings 'experimental::try';
use feature ':5.34';
use Mojo::Base 'Mojolicious::Controller', -signatures;

View File

@ -4,7 +4,8 @@ use utf8;
use strict;
use warnings;
use experimental qw(try);
use feature ':5.20';
no warnings 'experimental::try';
use feature ':5.34';
use Mojo::Base 'Mojolicious::Controller', -signatures;
use CharmBoard::Util::Crypt::Password;

View File

@ -4,7 +4,8 @@ use utf8;
use strict;
use warnings;
use experimental qw(try);
use feature ':5.20';
no warnings 'experimental::try';
use feature ':5.34';
use Mojo::Base 'Mojolicious::Controller', -signatures;

View File

@ -4,7 +4,8 @@ use utf8;
use strict;
use warnings;
use experimental qw(try);
use feature ':5.20';
no warnings 'experimental::try';
use feature ':5.34';
use Mojo::Base 'MojoX::Model';
use Tree::Simple;

View File

@ -4,7 +4,8 @@ use utf8;
use strict;
use warnings;
use experimental qw(try);
use feature ':5.20';
no warnings 'experimental::try';
use feature ':5.34';
use base qw(DBIx::Class::Schema);

View File

@ -4,7 +4,8 @@ use utf8;
use strict;
use warnings;
use experimental qw(try);
use feature ':5.20';
no warnings 'experimental::try';
use feature ':5.34';
use base 'DBIx::Class::ResultSet';

View File

@ -4,7 +4,8 @@ use utf8;
use strict;
use warnings;
use experimental qw(try);
use feature ':5.20';
no warnings 'experimental::try';
use feature ':5.34';
use base 'DBIx::Class::ResultSet';

View File

@ -4,7 +4,8 @@ use utf8;
use strict;
use warnings;
use experimental qw(try);
use feature ':5.20';
no warnings 'experimental::try';
use feature ':5.34';
use base 'DBIx::Class::ResultSet';

View File

@ -4,7 +4,8 @@ use utf8;
use strict;
use warnings;
use experimental qw(try);
use feature ':5.20';
no warnings 'experimental::try';
use feature ':5.34';
use base 'DBIx::Class::ResultSet';

View File

@ -4,7 +4,8 @@ use utf8;
use strict;
use warnings;
use experimental qw(try);
use feature ':5.20';
no warnings 'experimental::try';
use feature ':5.34';
use base qw(DBIx::Class::Core);

View File

@ -4,7 +4,8 @@ use utf8;
use strict;
use warnings;
use experimental qw(try);
use feature ':5.20';
no warnings 'experimental::try';
use feature ':5.34';
use base qw(DBIx::Class::Core);

View File

@ -4,7 +4,8 @@ use utf8;
use strict;
use warnings;
use experimental qw(try);
use feature ':5.20';
no warnings 'experimental::try';
use feature ':5.34';
use base qw(DBIx::Class::Core);

View File

@ -4,7 +4,8 @@ use utf8;
use strict;
use warnings;
use experimental qw(try);
use feature ':5.20';
no warnings 'experimental::try';
use feature ':5.34';
use base qw(DBIx::Class::Core);

View File

@ -4,7 +4,8 @@ use utf8;
use strict;
use warnings;
use experimental qw(try);
use feature ':5.20';
no warnings 'experimental::try';
use feature ':5.34';
use base qw(DBIx::Class::Core);

View File

@ -4,7 +4,8 @@ use utf8;
use strict;
use warnings;
use experimental qw(try);
use feature ':5.20';
no warnings 'experimental::try';
use feature ':5.34';
use base qw(DBIx::Class::Core);

View File

@ -4,7 +4,8 @@ use utf8;
use strict;
use warnings;
use experimental qw(try);
use feature ':5.20';
no warnings 'experimental::try';
use feature ':5.34';
use Authen::Passphrase::Argon2;
use CharmBoard::Util::Crypt::Seasoning;

View File

@ -4,7 +4,8 @@ use utf8;
use strict;
use warnings;
use experimental qw(try);
use feature ':5.20';
no warnings 'experimental::try';
use feature ':5.34';
use Math::Random::Secure qw(irand);

View File

@ -4,7 +4,8 @@ use utf8;
use strict;
use warnings;
use experimental qw(try);
use feature ':5.20';
no warnings 'experimental::try';
use feature ':5.34';
use Mojo::File qw(curfile);
use lib curfile->dirname->sibling('lib')->to_string;