From e3ce1e2363cba4e007d3159d969b2e319032eaf2 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sat, 23 Oct 2010 22:11:48 +0200 Subject: [PATCH] strip spaces from end of value --- Aleph.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Aleph.pm b/Aleph.pm index 1696dc1..8fdb1de 100644 --- a/Aleph.pm +++ b/Aleph.pm @@ -146,6 +146,7 @@ warn "parse $nr"; sub field { my ( $f, $v ) = @_; $v =~ s/\Q \E/ /gs; + $v =~ s/\s+$//gs; warn "## $f\t$v\n"; $hash->{$f} = $v; -- 2.20.1