Roger101 0 Newbie Poster

Hi,

I am new to perl and have been getting decently good at it.

Now i am getting into doing plots with perl. I read some articles/examples on how to create plots using perl

It mentions using GD::Graph Module

However when i try to plot I get

Can't locate GD/Graph/bars.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ./test2.pl line 30.
BEGIN failed--compilation aborted at ./test2.pl line 30.

Any idea why? Its a very very simple plot. I dont think it is related to my code but something about GD::Graph Module being not found.

Any ideas why I am getting this error? How do i fix it?

Or any other way of doing plots in perl?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.