On Fri, 15 Sep 2006, john wrote:

> I replace the crusial line with the one below
> 
> my $graph = GD::Graph::area->new(400, 300);
> 
> and I received the error
> 
> Can't locate object method "new" via package "GD::Graph::area" (perhaps you
> forgot to load "GD::Graph::area"?) at test2.pl line 11
> 
> I think that all these type of plotting are included in the GD::Graph
> module.


Please read the documentation, you must say

use GD::Graph::moduleName;



Owen


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to