What's a simple reference or cheat sheet for nested data structures in Perl?
An excellent beginning tutorial is perldoc perlreftut
. I also highly recommend two other tutorials in the built-in Perl documentation: perldoc perllol
and perldoc perldsc
. (I worked through them in that order, but your mileage may vary. I also found it easier to read perldoc perlref
after I worked through those tutorials, but again, you may not.)
You should always be able to get these via a terminal, if you have a normal Perl installation. But you can also get them via the web (and as downloadable pdfs) via those links.
For a cheat sheet/reference sheet, you could do a lot worse than this post on PerlMonks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With