in reply to Re: GD::Graph Question
in thread GD::Graph Question

thats great

but now I'm getting the error Can't call method "plot" on an undefined value at first.pl line 25.
any ideas? Or does anybody know where I can find some examples?

Replies are listed 'Best First'.
Re: Re: Re: GD::Graph Question
by insensate (Hermit) on Jul 16, 2002 at 14:58 UTC
    There is a slight error in the module documentation if you extract all of the snippets. Change your  $my_graph to just  $graph...you are calling the plot method on the graph object you have been creating.
    Also, if you just grabbed the module note that you will have to use the .png or .gd2 file types...the gifs no longer are supported as far as I know.
    -Jason
      Great Jason. Thanks!!