- my $pants = new IPC::MorseSignals::Receiver \%SIG, done => sub {
+ my $pants = IPC::MorseSignals::Receiver->new(\%SIG, done => sub {
print STDERR "GOT $_[1]\n";
print STDERR "GOT $_[1]\n";
- };
+ });
-head1 DESCRIPTION
+=head1 DESCRIPTION
This module implements a rare form of IPC by sending Morse-like signals through C<SIGUSR1> and C<SIGUSR2>. Both of those signals are used, so you won't be able to keep them for something else when you use this module.
This module implements a rare form of IPC by sending Morse-like signals through C<SIGUSR1> and C<SIGUSR2>. Both of those signals are used, so you won't be able to keep them for something else when you use this module.
@@ -42,7+42,7 @@ This module implements a rare form of IPC by sending Morse-like signals through
=item L<IPC::MorseSignals::Emitter> is a base class for emitters ;
=item L<IPC::MorseSignals::Emitter> is a base class for emitters ;
-=item L<IPC::MorseSignals::Receiver> is a base class for receivers ;
+=item L<IPC::MorseSignals::Receiver> is a base class for receivers.
=back
=back
@@ -68,7+68,7 @@ For truly useful IPC, search for shared memory, pipes and semaphores.
Vincent Pit, C<< <perl at profvince.com> >>, L<http://www.profvince.com>.
Vincent Pit, C<< <perl at profvince.com> >>, L<http://www.profvince.com>.
-You can contact me by mail or on #perl @ FreeNode (vincent or Prof_Vince).
+You can contact me by mail or on C<irc.perl.org> (vincent).
=head1 BUGS
=head1 BUGS
@@ -86,7+86,7 @@ Thanks for the inspiration, mofino ! I hope this module will fill all your IPC n
=head1 COPYRIGHT & LICENSE
=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.
This program is free software; you can redistribute it and/or modify it