X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProtout.pm;h=522352e48d97cc35b61020e33b10c2cdd1aa092e;hb=edfc15583881f720a65516d975d26cdb6b7c8469;hp=657057c9e03cbb99f056457018714bdc050af177;hpb=0148e301a41d89c154254a457f7d79334eea9442;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^"; }