Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Graph with VMstat output

by hexcoder (Deacon)
on Jun 02, 2014 at 22:07 UTC ( #1088315=note: print w/replies, xml ) Need Help??

in reply to Graph with VMstat output

Adding to zentara's good advice...

Your line
my @proc = ([@$run_stats_all],[@$unit_stats_all]);
has the same structure as the line in zentaras example
my @data = ...

You can find out about nested structures by using the core module Data::Dumper

use Data::Dumper; print Dumper( \@proc );
It would show the values of @proc along with their internal structure.

Anyway, in this case @proc will have two entries. Each is a reference to an anonymous array.
The first array holds the run_stats_all values,
the second one holds the unit_stats_all values.

Hope that helps!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2022-12-09 22:28 GMT
Find Nodes?
    Voting Booth?

    No recent polls found