THIAGO LACERDA ZAGO wrote:
Good evening!
Dean,
Actually, the values I sent to you were not from my perl print function,
> it was from the result of my TOAD query.
<snip>
As you can see, @SERIES_VAL_1 is filled right in the Fetch loop above.
The print result is shown bellow.
serie_1 = 0
serie_1 = .72
serie_1 = 0
serie_1 = 0
serie_1 = .68
serie_1 = .98
<snip>
OK, it looks like its the fractionals wo/ leading zero. Which is a bug
in DBD::Chart.
So rather than modifying the regex, here's some patches to replace
it with a better test:
At Chart.pm line 1570, change
use DBI qw(:sql_types);
to
use DBI qw(:sql_types looks_like_number);
At line 1663, change
($p=~/^[\-\+]?\d+(\.\d+(E[\-\+]?\d+)?)?$/i));
to
(looks_like_number($p))[0]);
That seems to fix it for me.
- Dean