-L<Bit::MorseSignal::Receiver> object constructor. With the C<'done'> option, you can specify a callback that will be triggered every time a message is completed, and in which C<$_[0]> will be the receiver object and C<$_[1]> the message received.
+L<Bit::MorseSignals::Receiver> object constructor. With the C<'done'> option, you can specify a callback that will be triggered every time a message is completed, and in which C<$_[0]> will be the receiver object and C<$_[1]> the message received.
if ($self->{len} >= 3) {
my $type = 2 * vec($self->{buf}, 0, 1)
+ vec($self->{buf}, 1, 1);
if ($self->{len} >= 3) {
my $type = 2 * vec($self->{buf}, 0, 1)
+ vec($self->{buf}, 1, 1);
@{$self}{qw/state type buf len/} = (3, $type, '', 0);
}
@{$self}{qw/state type buf len/} = (3, $type, '', 0);
}