# "anonymous" reference to array of 8 my $foo = [1..8]; ## Is the same as... my $foo = undef; # New scope... { # Array of 8 my @foo = (1..8); # Create reference to array of 8 $foo = \@foo; }