I want to use Chart::Gnuplot to plot a chart on the fly. The user will click on a link that will output the chart to screen.
At the moment I have the following relevant code defined:
my $chart = Chart::Gnuplot->new(
output => "/home/dir/www/Plots/$node.$ran.$kpi.$interface.png"
+,
....
The correct permissions are required (cgi user) to output to the directory. Any ideas on how to overcome the permission problem and output directly to the webpage instead of to a file?