my @array = (1, 2, 3); just an array my $ref = \@array; get the ref to the array my $ref = [1, 2, 3]; make an anonymous array and get the ref