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
It would show the values of @proc along with their internal structure.use Data::Dumper; print Dumper( \@proc );
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!
In Section
Seekers of Perl Wisdom