in reply to DBD::Chart::Plot ??

The problem is that you have to specify the file format when you call the plot method. That is, replace
print $img->plot;

with

print $img->plot('png');

Yes, the documentation is wrong, and the module should complain or have a default if no format is provided.

Added: The format you provide has to be the name of one of the "Image Data Output Methods", as listed in the GD documentation.

Replies are listed 'Best First'.
Re^2: DBD::Chart::Plot ??
by Anonymous Monk on Jan 24, 2005 at 17:57 UTC
    Thanks a million itub ! - now it works