IPC::MorseSignals::Receiver - Base class for IPC::MorseSignals receivers.
Version 0.10
use IPC::MorseSignals::Receiver; local %SIG; my $pants = new IPC::MorseSignals::Receiver \%SIG, done => sub { print STDERR "GOT $_[1]\n"; };
This module installs $SIG{qw/USR1 USR2/} handlers and forwards the bits received to a Bit::MorseSignal receiver.
$SIG{qw/USR1 USR2/}
new
Creates a new receiver object. Its arguments are passed to "new" in Bit::MorseSignals::Receiver, in particular the done callback.
done
IPC::MorseSignals::Receiver objects also inherit methods from Bit::MorseSignals::Receiver.
An object module shouldn't export any function, and so does this one.
Bit::MorseSignals::Receiver.
Carp (standard since perl 5) is also required.
IPC::MorseSignals, IPC::MorseSignals::Emitter.
Bit::MorseSignals, Bit::MorseSignals::Emitter, Bit::MorseSignals::Receiver.
perlipc for information about signals in perl.
For truly useful IPC, search for shared memory, pipes and semaphores.
Vincent Pit, <perl at profvince.com>, http://www.profvince.com.
<perl at profvince.com>
You can contact me by mail or on #perl @ FreeNode (vincent or Prof_Vince).
Please report any bugs or feature requests to bug-ipc-morsesignals-receiver at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=IPC-MorseSignals. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-ipc-morsesignals-receiver at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc IPC::MorseSignals::Receiver
Copyright 2007-2008 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.
To install IPC::MorseSignals, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IPC::MorseSignals
CPAN shell
perl -MCPAN -e shell install IPC::MorseSignals
For more information on module installation, please visit the detailed CPAN module installation guide.