[Chicago-talk] GD::Graph

matt boex chimcentral at yahoo.com
Thu Mar 11 09:27:49 CST 2004


ed,
 
same error again with this change.
 
matt

Ed Summers <ehs at pobox.com> wrote:
On Wed, Mar 10, 2004 at 03:01:50PM -0800, matt boex wrote:
> same error message. 

Now I'm lost: what do you get if you change this line:

print IMG $my_graph->plot(\@data)->png;

to this:

my $img = $my_graph->plot(\@data) || die $my_graph->error();
print IMG $img->png();

//Ed
_______________________________________________
Chicago-talk mailing list
Chicago-talk at mail.pm.org
http://mail.pm.org/mailman/listinfo/chicago-talk

---------------------------------
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/chicago-talk/attachments/20040311/03ad34be/attachment.htm


More information about the Chicago-talk mailing list