Jonathan Druart
8b0a44dcb5
% perl -wc installer/data/mysql/atomicupdate/skeleton.pl Useless use of anonymous hash ({}) in void context at installer/data/mysql/atomicupdate/skeleton.pl Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
14 lines
339 B
Perl
Executable file
14 lines
339 B
Perl
Executable file
use Modern::Perl;
|
|
|
|
return {
|
|
bug_number => "BUG_NUMBER",
|
|
description => "A single line description",
|
|
up => sub {
|
|
my ($args) = @_;
|
|
my ($dbh, $out) = @$args{qw(dbh out)};
|
|
# Do you stuffs here
|
|
$dbh->do(q{});
|
|
# Print useful stuff here
|
|
say $out "Update is going well so far";
|
|
},
|
|
}
|