$ cat test3.pl #!/usr/bin/perl use strict; use warnings; mysub(1); mysub(2,3,4); mysub(5,6,7,8,9,0); sub mysub { my ($first, $second, @third, @fourth)=@_; print "First: $first, Second: $second, Third: @third, Fourth: @fourth.\n"; } $ perl test3.pl Use of uninitialized value $second in concatenation (.) or string at test3.pl line 11. First: 1, Second: , Third: , Fourth: . First: 2, Second: 3, Third: 4, Fourth: . First: 5, Second: 6, Third: 7 8 9 0, Fourth: . #### $ cat test4.pl #!/usr/bin/perl use strict; use warnings; sub noalias { my ($arg)=@_; $arg = uc($arg); print "Arg: $arg.\n"; } sub alias { $_[0] = uc($_[0]); print "Arg: $_[0].\n"; } my $t1 = "foobar"; my $t2 = "barbaz"; noalias($t1); alias($t2); print "T1: $t1, T2: $t2.\n"; $ perl test4.pl Arg: FOOBAR. Arg: BARBAZ. T1: foobar, T2: BARBAZ.