Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^5: Parsing an SQL table using an array of hashes?

by poj (Priest)
on Jul 01, 2013 at 06:31 UTC ( #1041750=note: print w/ replies, xml ) Need Help??


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


Comment on Re^5: Parsing an SQL table using an array of hashes?
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1041750]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2014-10-25 23:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (149 votes), past polls