in reply to Re^5: uninitialized value in Tk::DBI::Table
in thread uninitialized value in Tk::DBI::Table
The '=' is from a sql statement, it is not executed as perl code. Numbers or not, the equality comparison operator for sql is '='. It should have nothing to do with what happens when the column heading is selected to sort. It's likely that the numbers are quoted because it is a character field in a table that happens to have numbers in it, but that shouldn't matter either.
My guess at the source of the problem is that he is using Tk::DBI::Table 0.01 (0.01 line 294 looks more likely than 0.02 line 294), one (or more) of the date/time columns is null, and he is getting uninitialized warnings during the sort of that 'uninitialized' column. Seeing a small sample of the data selected that still displays this problem could confirm this.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: uninitialized value in Tk::DBI::Table
by TonyDonker (Novice) on Feb 18, 2005 at 08:40 UTC | |
by runrig (Abbot) on Feb 18, 2005 at 18:46 UTC |