2 IPC::MorseSignals - Communicate between processes with Morse signals.
8 # In the sender process
9 use IPC::MorseSignals::Emitter;
11 my $deuce = new IPC::MorseSignals::Emitter speed => 1024;
12 $deuce->post('HLAGH') for 1 .. 3;
17 # In the receiver process
18 use IPC::MorseSignals::Receiver;
21 my $pants = new IPC::MorseSignals::Receiver \%SIG, done => sub {
22 print STDERR "GOT $_[1]\n";
26 This module implements a rare form of IPC by sending Morse-like signals
27 through "SIGUSR1" and "SIGUSR2". Both of those signals are used, so you
28 won't be able to keep them for something else when you use this module.
30 IPC::MorseSignals::Emitter is a base class for emitters ;
31 IPC::MorseSignals::Receiver is a base class for receivers.
33 But, seriously, use something else for your IPC. :)
36 You need the complete Bit::MorseSignals distribution.
38 Carp (standard since perl 5), POSIX (idem) and Time::HiRes (since perl
39 5.7.3) are also required.
42 IPC::MorseSignals::Emitter, IPC::MorseSignals::Receiver.
44 Bit::MorseSignals, Bit::MorseSignals::Emitter,
45 Bit::MorseSignals::Receiver.
47 perlipc for information about signals in perl.
49 For truly useful IPC, search for shared memory, pipes and semaphores.
52 Vincent Pit, "<perl at profvince.com>", <http://www.profvince.com>.
54 You can contact me by mail or on #perl @ FreeNode (vincent or
58 Please report any bugs or feature requests to "bug-ipc-morsesignals at
59 rt.cpan.org", or through the web interface at
60 <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=IPC-MorseSignals>. I
61 will be notified, and then you'll automatically be notified of progress
62 on your bug as I make changes.
65 You can find documentation for this module with the perldoc command.
67 perldoc IPC::MorseSignals
70 Thanks for the inspiration, mofino ! I hope this module will fill all
74 Copyright 2007-2008 Vincent Pit, all rights reserved.
76 This program is free software; you can redistribute it and/or modify it
77 under the same terms as Perl itself.