7 use Bit::MorseSignals::Emitter;
8 use Bit::MorseSignals::Receiver;
10 my $deuce = new Bit::MorseSignals::Emitter;
11 my $pants = new Bit::MorseSignals::Receiver done => sub { print $_[1], "\n" };
13 $deuce->post('HLAGH') for 1 .. 3;
14 $pants->push while defined ($_ = $deuce->pop);