The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

use PNI::Mo;
extends 'PNI::Node';
sub BUILD {
my $self = shift;
$self->in->data(0);
$self->out->data(0);
}
sub task {
my $self = shift;
$self->out->data( $self->in->data * 2 );
}
1