[untitled]
1 pointsby Enk1du0 comments
$a->[2]->{"bar"}
which is equivalent and also works, but suffers from the explosion of punctuation that Perl often gets criticised for. There's an element of Do What I Mean where the first arrow says this is a reference and work the rest out for me. [0] https://www.oreilly.com/library/view/perl-best-practices/0596001738/
[1] https://metacpan.org/dist/Perl-Tidy/view/bin/perltidy
[2] https://metacpan.org/pod/Perl::Critic