Roger101 0 Newbie Poster


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/ 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 ./ line 30.
BEGIN failed--compilation aborted at ./ 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?