From 5de505775c0af733dfe3f463a8ad0cde5feb3d9c Mon Sep 17 00:00:00 2001 From: Dirk Koopman Date: Wed, 4 Jan 2017 21:57:32 +0000 Subject: [PATCH] change arg processing in rbn.pl Also add some pod --- perl/rbn.pl | 129 +++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 107 insertions(+), 22 deletions(-) diff --git a/perl/rbn.pl b/perl/rbn.pl index 1bc9a938..f92b3201 100755 --- a/perl/rbn.pl +++ b/perl/rbn.pl @@ -9,12 +9,13 @@ use strict; use 5.10.1; use IO::Socket::IP -register; use Math::Round qw(nearest); +use Getopt::Long; +use Pod::Usage; my $host = 'telnet.reversebeacon.net'; my $port = 7000; -my $mycall = shift or die "usage:rbn.pl [debug] [stats] [cw] [rtty] [psk] [beacon] [