in reply to Re: Re: Question about using hash indexes with GD::Graph
in thread Question about using hash indexes with GD::Graph

$new is a already a reference to an array consisting of two arrayrefs. There is no such thing (yet) as @new in the code snippet you've posted. Try it with
print IMG $graph->plot($new)->png;
(instead of the \@new you have there now) and see what happens.

use strict should have caught this. You *are* using, strict, aren't you?

Philosophy can be made out of anything. Or less -- Jerry A. Fodor