X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=perl%2FDXProtout.pm;h=522352e48d97cc35b61020e33b10c2cdd1aa092e;hb=1483f78fa8fff9f1d97e59127064f1e5d84da78c;hp=657057c9e03cbb99f056457018714bdc050af177;hpb=6181396aed78196fdff45033de7b59d6a2fcd6c1;p=spider.git diff --git a/perl/DXProtout.pm b/perl/DXProtout.pm index 657057c9..522352e4 100644 --- a/perl/DXProtout.pm +++ b/perl/DXProtout.pm @@ -25,7 +25,7 @@ $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 +124,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^"; }