X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FBit-MorseSignals.git;a=blobdiff_plain;f=lib%2FBit%2FMorseSignals%2FReceiver.pm;fp=lib%2FBit%2FMorseSignals%2FReceiver.pm;h=d4220b76ceacc1bfe12a76c9dc83cf93871a4914;hp=be6458e1fc398f0ba7ca0f92272aa7bd27c8ba57;hb=4edcf469e09bb23c40cdba77f905ce341b0ce771;hpb=7311d27d4099d8c1f0e011db45d53a21853ff703 diff --git a/lib/Bit/MorseSignals/Receiver.pm b/lib/Bit/MorseSignals/Receiver.pm index be6458e..d4220b7 100644 --- a/lib/Bit/MorseSignals/Receiver.pm +++ b/lib/Bit/MorseSignals/Receiver.pm @@ -35,7 +35,8 @@ our $VERSION = '0.08'; =head1 DESCRIPTION -Base class for L receivers. Please refer to this module for more general information about the protocol. +Base class for L receivers. +Please refer to this module for more general information about the protocol. Given a sequence of bits coming from the L protocol, the receiver object detects when a packet has been completed and then reconstructs the original message depending of the datatype specified in the header. @@ -52,7 +53,8 @@ sub _check_self { my $bmr = Bit::MorseSignals::Receiver->new(done => $cb); -L 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 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. =cut @@ -74,7 +76,8 @@ sub new { $bmr->push($bit); -Tells the receiver that you have received the bit C<$bit>. Returns true while the message isn't completed, and C as soon as it is. +Tells the receiver that you have received the bit C<$bit>. +Returns true while the message isn't completed, and C as soon as it is. =cut @@ -202,7 +205,8 @@ You can contact me by mail or on C (vincent). =head1 BUGS -Please report any bugs or feature requests to C, or through the web interface at L. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. +Please report any bugs or feature requests to C, or through the web interface at L. +I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. =head1 SUPPORT