X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FPrefix.pm;h=954490fcf41e2798ad39ba6c6951b89002922dd5;hb=2b58ccdf81685a1167a43c38705a0d84b9d8d661;hp=2906e726260eaea079a3542e16be20335aa5a5ff;hpb=30b55942ed6bebb48e6b10139f28147be14a8ec7;p=spider.git diff --git a/perl/Prefix.pm b/perl/Prefix.pm index 2906e726..954490fc 100644 --- a/perl/Prefix.pm +++ b/perl/Prefix.pm @@ -15,6 +15,13 @@ use Data::Dumper; use DXDebug; use strict; + +use vars qw($VERSION $BRANCH); +$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ ); +$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ ) || 0; +$main::build += $VERSION; +$main::branch += $BRANCH; + use vars qw($db %prefix_loc %pre); $db = undef; # the DB_File handle @@ -188,6 +195,7 @@ my %valid = ( itu => '0,ITU', cq => '0,CQ', utcoff => '0,UTC offset', + cont => '0,Continent', ); no strict;