sub x { [my @a = (1, 2, 3)] }; # or sub y { [&x()] } # The & is unnecessary, though