Change `use feature` to `':5.34`, suppress warnings for try/catch
This commit is contained in:
parent
9c19c8d95a
commit
77365cc0c3
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue