[project @ 2003-01-09 15:49:25 by simonmar]
authorsimonmar <unknown>
Thu, 9 Jan 2003 15:49:25 +0000 (15:49 +0000)
committersimonmar <unknown>
Thu, 9 Jan 2003 15:49:25 +0000 (15:49 +0000)
small fix:  'if ($x)' is not the same as 'if ($x ne "")'

glafp-utils/runstdtest/runstdtest.prl

index 26ba0cb..e6a3534 100644 (file)
@@ -305,7 +305,7 @@ exit 0;
 sub grab_arg_arg {
     local($option, $rest_of_arg) = @_;
     
-    if ($rest_of_arg) {
+    if ($rest_of_arg ne "") {
        return($rest_of_arg);
     } elsif ($#ARGV >= 0) {
        local($temp) = $ARGV[0]; shift(@ARGV);