X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=perl%2FDXProtout.pm;h=82905dadbcd81780ebe185abcbbcef5fc9ec0dc3;hb=b9dffeff7239952814342dad19db3a51def6fab7;hp=657057c9e03cbb99f056457018714bdc050af177;hpb=6181396aed78196fdff45033de7b59d6a2fcd6c1;p=spider.git diff --git a/perl/DXProtout.pm b/perl/DXProtout.pm index 657057c9..82905dad 100644 --- a/perl/DXProtout.pm +++ b/perl/DXProtout.pm @@ -19,13 +19,7 @@ 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,0)); -$main::build += $VERSION; -$main::branch += $BRANCH; - -use vars qw($sentencelth $handle_xml); +use vars qw($sentencelth); $sentencelth = 180; @@ -124,7 +118,7 @@ sub pc17 sub pc18 { my $flags = ""; - $flags .= " xml" if $handle_xml; + $flags .= " xml" if DXXml::available(); return "PC18^DXSpider Version: $main::version Build: $main::build$flags^$DXProt::myprot_version^"; }