my @foo = ( 1 .. 5 ); my $list-to-scalar = @foo; my $length-of-array = @foo;