X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProtout.pm;fp=perl%2FDXProtout.pm;h=3439b01da2881044439c75d0549a53c631ca7fba;hb=11a8c72764d2211c064cceb2c67fa60d54414fe0;hp=d035f7ae605a0faeb77af87b5534ee3f1eada2b5;hpb=2f64c84b9131ca0b863b53c89a0a637b1fb537fc;p=spider.git 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";