... my best guess is that the server has not permissions to open graph.png for output ...It's also a good idea to let yourself know about such problems as they develop. Something along these lines might be informative:
my $filename = 'graph.png'; open my $fh, '>', $filename or die "opening $filename: $!"; binmode $fh; print $fh $mygraph->plot(\@data)->png or die "writing $filename: $!"; close $fh or die "closing $filename: $!";
In reply to Re^2: draw a graph
by AnomalousMonk
in thread draw a graph
by raja2kind
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |