lastmsgpoll => '0,Last Msg Poll,atime',
inscript => '9,In a script,yesno',
inqueue => '9,Input Queue,parray',
+ lastcf => '1,Last CF Update,atime',
+ lasthello => '1,Last Hello Update,atime',
);
use vars qw($VERSION $BRANCH);
-$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
-$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ || (0,0));
-$main::build += $VERSION;
-$main::branch += $BRANCH;
+
+main::mkver($VERSION = q$Revision$);
# object destruction
sub DESTROY
}
}
-# obtain a channel object by callsign [$obj = DXChannel->get($call)]
+# obtain a channel object by callsign [$obj = DXChannel::get($call)]
sub get
{
- my ($pkg, $call) = @_;
- return $channels{$call};
+ return $channels{$_[0]};
}
# obtain all the channel objects