in reply to Bizzare comma bug

You probably mean:
$price =~ s/,//g;
The g is important so you also remove the second comma, for instance, in 4,332,653.00
Not that this is the problem, but fix that too.