X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProtout.pm;h=4f4da1e50677953c3d1a8235703f0e22849abff2;hb=93292dcd622b1505d2cbab334277c89e7c8afd27;hp=c024724f44ee51f8ac48d5f092c6a85dbdae41d2;hpb=f7d12c1c29b0653afb72fc84a4463d3c01dd506f;p=spider.git diff --git a/perl/DXProtout.pm b/perl/DXProtout.pm index c024724f..4f4da1e5 100644 --- a/perl/DXProtout.pm +++ b/perl/DXProtout.pm @@ -19,7 +19,7 @@ use DXDebug; use strict; -use vars qw($sentencelth); +use vars qw($sentencelth $pc19_version); $sentencelth = 180; @@ -137,6 +137,8 @@ sub pc19 my $here = $ref->here; my $conf = $ref->conf; my $version = $ref->version; + $version = $pc19_version unless $version =~ /^\d\d\d\d$/; + my $str = "^$here^$call^$conf^$version"; if (length($s) + length($str) > $sentencelth) { push @out, "PC19" . $s . sprintf "^%s^", get_hops(19);