$data{$problem}{$year}{$month}=$count
you could also go for
$data{$problem}{"$year-$month"}=$count
Now what is the real question?
How to get the input from SQL or how to get the output to GD::Graph ?
Cheers Rolf
(addicted to the Perl Programming Language)
In reply to Re: Parsing an SQL table using an array of hashes?
by LanX
in thread Parsing an SQL table using an array of hashes?
by chareTX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |