mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-05-05 22:11:12 +08:00
ALWAYS complain if I couldn't run gnuplot
This commit is contained in:
parent
b7a37bd622
commit
8f365d0521
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user