From: minima Date: Wed, 23 Feb 2005 21:12:49 +0000 (+0000) Subject: fix a default for the version X-Git-Tag: R_1_52~148 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=11a8c72764d2211c064cceb2c67fa60d54414fe0;p=spider.git fix a default for the version --- diff --git a/perl/DXProtout.pm b/perl/DXProtout.pm index d035f7ae..3439b01d 100644 --- a/perl/DXProtout.pm +++ b/perl/DXProtout.pm @@ -140,7 +140,7 @@ sub pc19 my $call = $ref->call; my $here = $ref->here; my $conf = $ref->conf; - my $version = $ref->version; + my $version = $ref->version || 5401; $version = 5300 + int($version*100) if $version < 2; $version = 5252 + int($version*100) if $version < 3; my $str = "^$here^$call^$conf^$version";