Commit 701f026d authored by Nigel Kukard's avatar Nigel Kukard

Fixed up some return values in the is* functions

parent ab0b1b40
......@@ -181,7 +181,7 @@ sub isHash
return;
}
return (ref($var) eq "HASH");
return (ref($var) eq "HASH") ? 1 : 0;
}
......@@ -202,7 +202,7 @@ sub isVariable
return;
}
return (ref($var) eq "");
return (ref($var) eq "") ? 1 : 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment