[Graph-dev] Suggestion for Chart::Graph::Utils.pm
Etienne Goyer
etienne.goyer@linuxquebec.com
Wed, 18 Dec 2002 14:57:45 -0500
Hi,
Thanks for your Chart::Graph module. I am using them to build a CGI
application that plot the output of iostat and sar.
/usr/lib/perl5/site_perl/5.8.0/Chart/Graph/Utils.pm line 161 read:
print "Set $count of tmp files are in $tmp_dir\n";
I believe that :
warn "Set $count of tmp files are in $tmp_dir\n";
would be more appropriate since it would not clobber STDOUT. This is
very important with CGI script otherwise it could make Apache barf with
"Premature end of script headers" if you executed gnuplot() before you
send your header.
Again, than you very much for your modules !
--
Etienne Goyer Linux Québec Technologies Inc.
http://www.LinuxQuebec.com etienne.goyer@linuxquebec.com
PGP Pub Key: http://www.LinuxQuebec.com/pubkeys/eg.key
Fingerprint: F569 0394 098A FC70 B572 5D20 3129 3D86 8FD5 C853