Mark Stosberg wrote: > > When I use DBI->trace() to see what data is returned for a particular > select statement, I see the value I want is formatted as I expect: as a > number formatted with commas where I want. However, if I immediately > dump the resulting the data structure with Data::Dumper, the comma is > missing. What's especially odd is that I use similiar constructs > elsewhere in the application the comma "sticks" as I expect, and I can't > reproduce this with a "simple test case". The code and the output are > below.
I was able to solve this-- it was the hash ordering issue that was fixed in 1.21, which ironically was being installed as I composed the last message. The issue was that there were two keys being returned named "subtotal", and I was seeing the first in the resulting hash, rather than the second as I expected. -mark http://mark.stosberg.com/
