# $x is a reference my $x = SomeClass.new(); # this also doesn't need an explicit reference my @a = 1, 2, 3; my $arr = @a; # now you can use $arr instead of @a, though $arr won't flatten into lists by default $arr.push('foo') say ~$arr; # 1 2 3 foo