Cleanup: use subroutine signatures, remove deprecated methods.
The signatures feature has been "experimental" since Perl 5.20 (May 2014), but expected to stay. After 8 years I'm ready to take the risk :) Have added Perl v5.28 (June 2018) as the minimum requirement, even though the current revbank should work with 5.20, to see if this bothers any users. Perl v5.28 is in Debian "buster", which is now oldstable.
This commit is contained in:
parent
1661661ffd
commit
eed0db7897
45 changed files with 233 additions and 444 deletions
|
@ -1,8 +1,6 @@
|
|||
#!perl
|
||||
|
||||
sub hook_deposit_methods {
|
||||
my ($class, $message, $hash) = @_;
|
||||
|
||||
sub hook_deposit_methods($class, $message, $hash, @) {
|
||||
$$message = <<"END";
|
||||
|
||||
Please type one of the following:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue