> I'm trying to use the GD module..... for plotting a graph on > WINDOWS but my Perl script is crashing. > > Here is the piece of code which is crashing [Perl Command > Line Interpreter has encountered a problem and needs to > close. We are sorry for the inconvenience.] > > use GD::Graph::bars; > my $graph = GD::Graph::bars->new(400, 300);
It's not your syntax, it's fine here on 5.6.1 and 5.8.8. Try re-installing GD-Graph using the Perl Package Manger (you may need to remove the package first). hth -- http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>