in reply to Re^4: Parsing an SQL table using an array of hashes?
in thread Parsing an SQL table using an array of hashes?
[@{$y_data{$cat}}] is a ref to a copy of the data for one $cat.
poj
It is equivalent to [ $y_data{$cat}[0],$y_data{$cat}[1],$y_data{$cat}[2],etc ]
For a plot of all periods this would work equally as well
push @y_plotdata,$y_data{$cat};poj
|
---|
In Section
Seekers of Perl Wisdom