foo(1,2,3,4); sub foo { my (@args) = @_; # now @args holds a _copy_ of all the arguments }