+15Feb17=======================================================================
+1. Update UPGRADE.mojo a bit
+2. Fix(?) problems picking up SysVar.pm variables.
02Jan17=======================================================================
1. Add CTY-2615 prefixes
2. Add rbn.pl - an experimental rbn deduplicating spot filter.
Install cpamminus:
sudo apt-get install cpanminus
+or
+ wget -O - https://cpanmin.us | perl - --sudo App::cpanminus
or
sudo apt-get install curl
curl -L https://cpanmin.us | perl - --sudo App::cpanminus
BEGIN {
umask 002;
+ # take into account any local::lib that might be present
+ eval {
+ require local::lib;
+ };
+ import local::lib unless ($@);
+
# root of directory tree for this system
$root = "/spider";
$root = $ENV{'DXSPIDER_ROOT'} if $ENV{'DXSPIDER_ROOT'};
$systime = time;
}
-
-use Mojo::IOLoop;
-
use DXVars;
use SysVar;
+use Mojo::IOLoop;
+
use Msg;
use IntMsg;
use Internet;
die "ADMIN,Cannot connect to $host:$port after 5 attempts $!" unless $sock;
say "ADMIN,connected" if $dbg;
-print $sock "$mycall\r\n";
-say "ADMIN,call sent" if $dbg;
+#print $sock "$mycall\r\n";
+#say "ADMIN,call $mycall sent" if $dbg;
my %d;
my %spot;
# parse line
say "RAW,$_" if $wantraw;
+ if (/call:/) {
+print $sock "$mycall\r\n";
+say "ADMIN,call $mycall sent" if $dbg;
+ }
+
my (undef, undef, $origin, $qrg, $call, $mode, $s, $m, $spd, $u, $sort, $t, $tx) = split /[:\s]+/;
if ($t || $tx) {