Sponsoring The Perl Toolchain Summit 2025: Help make this important event another success Learn more
|
#!/usr/bin/ruby
#
#
func logic(a, b) {
say ("a and b: ", a && b);
say ("a or b: ", a || b);
say ("a xor b: ", a ^ b);
say (" not a: ", !a);
}
logic(false, true);
|