How can I make an C structure/C++ class/hash or array of hashes or arrays?
Use references (documented in
the perlref manpage
). Examples of complex data structures are given in
the perldsc manpage
and
the perllol manpage
. Examples of structures and object-oriented classes are in
the perltoot manpage
.
Back to
Why does passing a subroutine an undefined element in a hash create it?
Forward to
How can I use a reference as a hash key?
Up to
the perlfaq4 manpage