ALWAYS complain if I couldn't run gnuplot

This commit is contained in:
Dima Kogan 2011-01-29 19:52:01 -08:00
parent b7a37bd622
commit 8f365d0521

View File

@ -12,7 +12,7 @@ use Text::ParseWords;
our $VERSION = '1.02';
open(GNUPLOT_VERSION, 'gnuplot --version |');
open(GNUPLOT_VERSION, 'gnuplot --version |') or die "Couldn't run gnuplot";
my ($gnuplotVersion) = <GNUPLOT_VERSION> =~ /gnuplot\s*(\d*\.\d*)/;
if(!$gnuplotVersion)
{