sub foo ($$) { } my @bar = (1, 2); foo (1, 2); # Fine. foo (@bar); # Compile time error.