Sponsoring The Perl Toolchain Summit 2025: Help make this important event another success Learn more
12345678910 package Kelp::Module::Plus;use Kelp::Base 'Kelp::Module';sub build{ my ($self, %args) = @_; $self->register(plus => sub { $_[1] + $args{number} });}1;
package
Kelp::Module::Plus;
use
Kelp::Base
'Kelp::Module'
;
sub
build
{
my
(
$self
,
%args
) =
@_
->register(
plus
=>
$_
[1] +
$args
{number} });
}
1;