That turns out not to be the case. To "make the graph0 array as a whole an element of the graph2 array", one would use something like push @rrdgraph2, \@rrdgraph0. push @rrdgraph2, @rrdgraph0 does the same thing as your foreach loop, but is more efficient.
I suggest reading perldsc at least so that you understand why your solution is incorrect.
hdp.
Comment on Re: Re: why doesn't my array get extended?