From bdb0d9bf026e3b8195d290de916f360c6ead8915 Mon Sep 17 00:00:00 2001 From: Gerhard Gonter <ggonter@gmail.com> Date: Tue, 2 May 2023 16:10:15 +0200 Subject: [PATCH] added POD --- modules/util/Net/fanout.pm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/modules/util/Net/fanout.pm b/modules/util/Net/fanout.pm index 36331eb..c48db61 100644 --- a/modules/util/Net/fanout.pm +++ b/modules/util/Net/fanout.pm @@ -1,5 +1,19 @@ #!/usr/bin/perl +=head1 NAME + + Net::fanout + +=head1 DESCRIPTION + +Connect to a fanout pub/sub server to receive and send messages + +=head1 SYNPSIS + + my $fanout= Net::fanout->new( { PeerHost => 'ppt.example.org' }); + +=cut + use strict; package Net::fanout; @@ -192,3 +206,10 @@ sub send 1; +__END__ + +=head1 TODO + +* add main() so that the module can be called in standalone mode to provide a simple fanout client. + + -- GitLab