use strict;
use warnings;
use feature 'say';
# [ ] creates an array with no name, just a ref
my $colors = ["red", "green", "blue"];
say $colors->[1];
# push through the ref
push @{ $colors }, "black";
say scalar @{ $colors };[ ] returns an array ref