From dd47bfbdf7344dc240134924a3c05c20c7f63817 Mon Sep 17 00:00:00 2001 From: Juerd Waalboer Date: Mon, 25 Dec 2023 04:47:27 +0100 Subject: [PATCH] Remove redundant code Harmless but distracting leftovers from a previous, more complicated, approach. --- lib/RevBank/Global.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/RevBank/Global.pm b/lib/RevBank/Global.pm index e3b3c7c..7e0091b 100644 --- a/lib/RevBank/Global.pm +++ b/lib/RevBank/Global.pm @@ -37,9 +37,7 @@ sub import { if ($token eq '-') { $posneg = $posneg == -1 ? 1 : -1; } elsif ($token eq '+') { - next if $posneg == -1; # -+ $posneg ||= 1; - next; } else { $posneg or return undef; # two terms in a row my $term = RevBank::Amount->parse_string($token) // return undef;