$ perl -wle' sub test (\@) {  print "(@_)"; } @a=qw(a b c); test(\@a)' Type of arg 1 to main::test must be array (not reference constructor) at -e line 5, at end of line Execution of -e aborted due to compilation errors.