X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FIPC%2FMorseSignals%2FReceiver.pm;h=a72eec7472c7f70b2e1cbe51122463ca11b7d5a9;hb=21ecaad0abc3afdc379efa498a0fdad4ff0e2000;hp=cc63e4be7fe0e47776b257bd27f65edfaddb714c;hpb=32591f6355a8abf92d2f79f169cac14c4eea324b;p=perl%2Fmodules%2FIPC-MorseSignals.git diff --git a/lib/IPC/MorseSignals/Receiver.pm b/lib/IPC/MorseSignals/Receiver.pm index cc63e4b..a72eec7 100644 --- a/lib/IPC/MorseSignals/Receiver.pm +++ b/lib/IPC/MorseSignals/Receiver.pm @@ -14,20 +14,20 @@ IPC::MorseSignals::Receiver - Base class for IPC::MorseSignals receivers. =head1 VERSION -Version 0.15 +Version 0.16 =cut -our $VERSION = '0.15'; +our $VERSION = '0.16'; =head1 SYNOPSIS use IPC::MorseSignals::Receiver; local %SIG; - my $pants = new IPC::MorseSignals::Receiver \%SIG, done => sub { + my $pants = IPC::MorseSignals::Receiver->new(\%SIG, done => sub { print STDERR "GOT $_[1]\n"; - }; + }); =head1 DESCRIPTION @@ -37,7 +37,10 @@ This module installs C<$SIG{qw/USR1 USR2/}> handlers and forwards the bits recei =head2 C -Creates a new receiver object. Its arguments are passed to L, in particular the C callback. + my $imr = IPC::MorseSignals::Receiver->new(%bmr_options); + +Creates a new receiver object. +Its arguments are passed to L, in particular the C callback. =cut @@ -84,7 +87,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 @@ -94,7 +98,7 @@ You can find documentation for this module with the perldoc command. =head1 COPYRIGHT & LICENSE -Copyright 2007-2008 Vincent Pit, all rights reserved. +Copyright 2007,2008,2013 Vincent Pit, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.