revbank/lib/RevBank/Plugin.pm
Juerd Waalboer 59387ddba4 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.
2023-09-10 02:13:33 +02:00

27 lines
418 B
Perl

package RevBank::Plugin;
use v5.28;
use warnings;
use experimental 'signatures'; # stable since v5.36
require RevBank::Global;
sub new($class) {
return bless { }, $class;
}
sub command($self, $cart, $command, @) {
return RevBank::Global::NEXT();
}
1;
__END__
=head1 NAME
RevBank::Plugin - Base class for RevBank plugins
=head1 DESCRIPTION
Documentation on writing plugins is at L<RevBank::Plugins>.