summaryrefslogtreecommitdiff
path: root/Bugs/clearmyarray
blob: e4aecb32ab26aa9a71f95bde0392273b7a9c4c2e (plain)
1
2
3
4
@a = ( 5, 6, 7, 8);
&foo(1, 2, @a);

sub foo { my($a, $b, @c) = @_;  print scalar(@c), "\n"; }