4 ms·
I used perl years ago for all sorts of text processing and glue. I remember struggling with lists of lists. I just checked the docs[1] again to see if I've gro
by stirfish 5y ago
I used perl years ago for all sorts of text processing and glue. I remember struggling with lists of lists. I just checked the docs[1] again to see if I've grown at all as an engineer in the last 15 years.
>Now you should be very careful that the outer bracket type is a round one, that is, a parenthesis. That's because you're assigning to an @array, so you need parentheses. If you wanted there not to be an @AoA, but rather just a reference to it, you could do something more like...
Still pretty tricky!
[1] https://perldoc.perl.org/perllol#NAME https://perldoc.perl.org/perllol#NAME