X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FIPC%2FMorseSignals.pm;h=bfe72a9a45dca0c01d253a037410ba34072a88d8;hb=546e7c4c2185a46d1054c149cf9ba52337853537;hp=7cb39284b99102753dcaded98c65bcac9fcebe63;hpb=66395d4fefdc940dce749d571e5c8106f682eca4;p=perl%2Fmodules%2FIPC-MorseSignals.git diff --git a/lib/IPC/MorseSignals.pm b/lib/IPC/MorseSignals.pm index 7cb3928..bfe72a9 100644 --- a/lib/IPC/MorseSignals.pm +++ b/lib/IPC/MorseSignals.pm @@ -9,18 +9,18 @@ IPC::MorseSignals - Communicate between processes with Morse signals. =head1 VERSION -Version 0.13 +Version 0.15 =cut -our $VERSION = '0.13'; +our $VERSION = '0.15'; =head1 SYNOPSIS # In the sender process use IPC::MorseSignals::Emitter; - my $deuce = new IPC::MorseSignals::Emitter speed => 1024; + my $deuce = IPC::MorseSignals::Emitter->new(speed => 1024); $deuce->post('HLAGH') for 1 .. 3; $deuce->send($pid); @@ -30,9 +30,9 @@ our $VERSION = '0.13'; 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 @@ -68,7 +68,7 @@ For truly useful IPC, search for shared memory, pipes and semaphores. Vincent Pit, C<< >>, L. -You can contact me by mail or on #perl @ FreeNode (vincent or Prof_Vince). +You can contact me by mail or on C (vincent). =head1 BUGS @@ -86,7 +86,7 @@ Thanks for the inspiration, mofino ! I hope this module will fill all your IPC n =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.