Perl code to push variable 'x' to array 'arr' is code example Example: push to array perl push @names, 'Moo';