From 1eecf5d829c30056070f57aa92bb09eb075fd134 Mon Sep 17 00:00:00 2001 From: Gerhard Gonter <ggonter@gmail.com> Date: Tue, 2 May 2023 16:57:33 +0200 Subject: [PATCH] more complete synopsis --- modules/util/Net/fanout.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/util/Net/fanout.pm b/modules/util/Net/fanout.pm index c48db61..38c0b7f 100644 --- a/modules/util/Net/fanout.pm +++ b/modules/util/Net/fanout.pm @@ -8,9 +8,11 @@ Connect to a fanout pub/sub server to receive and send messages -=head1 SYNPSIS +=head1 SYNOPSIS my $fanout= Net::fanout->new( { PeerHost => 'ppt.example.org' }); + $fanout->subscribe('mychannel'); + $fanout->announce('mychannel', 'test message'); =cut -- GitLab