define logic_test(a, b) { print "a and b: ", a && b, "\n" print "a or b: ", a || b, "\n" print "not a: ", !a, "\n" }