The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more
|
sub BUILD {
my $self = shift ;
$self ->label( 'not' );
$self ->in(1);
$self ->out;
}
sub task {
my $self = shift ;
my $in1 = $self ->in(1);
$in1 ->is_defined or return ;
$self ->out->data( ! $in1 ->data );
}
1
|