$sign = $B[0] =~ /^\s*-/ ? -1 : 1; @result = map {$_*$sign} @B[1..$#B]; [download]
In reply to Re: Applying Sign Bit by Anonymous Monk in thread Applying Sign Bit by budman