http://www.perlmonks.org?node_id=1041750


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.

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