From 30676651ec1de48e81884b611d7ef5e9ea51c628 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sun, 3 Nov 2013 19:05:56 -0300 Subject: [PATCH] cameo/fped2stl.pl: use "eq" for string equality, not "==" --- cameo/fped2stl.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cameo/fped2stl.pl b/cameo/fped2stl.pl index 63120ba..df9afc5 100755 --- a/cameo/fped2stl.pl +++ b/cameo/fped2stl.pl @@ -60,9 +60,9 @@ print STDERR "$name $z ...\n"; while ($ARGV[0] =~ /^-/) { - if ($ARGV[0] == "-x") { + if ($ARGV[0] eq "-x") { $flip_x = 1; - } elsif ($ARGV[0] == "-y") { + } elsif ($ARGV[0] eq "-y") { $flip_y = 1; } elsif ($ARGV[0] =~ /^-[^0-9]/) { last;