12345
my $var = 3;switch ($var)case (1) {}case (2 || 3) {}
123456
use 5.010;my $var = 3;given ($var) { when (1) { say 1 } when ([2, 3]) { say "2 oder 3" }}