From 11a8c72764d2211c064cceb2c67fa60d54414fe0 Mon Sep 17 00:00:00 2001 From: minima Date: Wed, 23 Feb 2005 21:12:49 +0000 Subject: [PATCH] fix a default for the version --- perl/DXProtout.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.43.0