From: minima Date: Mon, 1 Jan 2007 18:34:55 +0000 (+0000) Subject: update hops in @field as well as $line X-Git-Tag: 1.54~81 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=9b250c2488bfab7fa9fdc6c90d2dd5d285f5aa34;p=spider.git update hops in @field as well as $line --- diff --git a/perl/DXProt.pm b/perl/DXProt.pm index 2ff2c8e5..6ff479c1 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -365,6 +365,7 @@ sub normal $hops--; return if $hops < 0; $line =~ s/\^H(\d+)(\^?\~?)?$/sprintf('^H%d%s', $hops, $trail)/e; + $field[-1] = "H$hops"; } # send it out for processing