Re: mysterious blank space in variable

2003-04-01 Thread Rob Anderson
Luke, It's impossible to say without knowing what your data looks like (what's the value being returned by $FORM::F_totalsum) If you can't rely on your data, you could have a look at this regex. It's in it's own test suite for you :-). #!perl -w use strict; foreach my $string ("123.23", "1

mysterious blank space in variable

2003-03-31 Thread Cool Hand Luke
Ahoy, hoy. I am having problems with this script, it keeps adding 6 blank spaces in front of a variable when it calculates it. I can't see why it's doing so. The variable in question is the $x_amount. Can anybody see where I'm going wrong, or alternately is there a quick way to strip a variable dow