Re: Simple error using GD::Graph on Windows
- From: "A. Sinan Unur" <1usa@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 10 May 2005 03:32:41 GMT
Mr Hyde <pump_yo_brakes@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
news:fa6081dbib317m7o5n07e8t0dtgju44r3i@xxxxxxx:
> Hi guys,
>
> My apologies if this is a simple issue: I've been hacking away at it
> for too long and have had no luck finding other people with the same
> issue.
>
> I have a very simple script named draw.pl:
>
> ---begin
>
> use GD::Graph::bars;
>
> my $graph = GD::Graph::bars->new(800, 600);
>
> ---end
>
> cut down to isolate the issue. When I run the command
>
> perl draw.pl
>
> it comes up with the error
>
> Can't locate object method "new" via package "GD::Image" at
> D:/Perl/site/lib/GD/Graph.pm line 286.
You need
use GD::Graph;
before
use GD::Graph::bars;
Sinan
--
A. Sinan Unur <1usa@xxxxxxxxxxxxxxxxxxx>
(reverse each component and remove .invalid for email address)
comp.lang.perl.misc guidelines on the WWW:
http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
.
- Follow-Ups:
- Re: Simple error using GD::Graph on Windows
- From: Mr Hyde
- Re: Simple error using GD::Graph on Windows
- References:
- Simple error using GD::Graph on Windows
- From: Mr Hyde
- Simple error using GD::Graph on Windows
- Prev by Date: Re: Media Lending Library - web based application
- Next by Date: Re: Wide character in null operation at ...
- Previous by thread: Simple error using GD::Graph on Windows
- Next by thread: Re: Simple error using GD::Graph on Windows
- Index(es):
Relevant Pages
|