[Chicago-talk] GD::Graph

Andy Lester andy at petdance.com
Wed Mar 10 13:08:19 CST 2004

> my $format = $my_graph->export_format;
> open(IMG,">load.png") or die $!;
> binmode IMG;
> print IMG $my_graph->plot(\@data)->png;

For some reason, $my_graph->plot(\@data) is returning undef.  The error
message is saying "You're trying to call undef->png(), which isn't

So figure out why $my_graph->plot(\@data) is returning undef.  Break it
out.  See if there's a GD::Graph message somewhere you can see.


Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance

More information about the Chicago-talk mailing list