Jan 19, 2001, 3:34 PM
Post #1 of 1
(From the Perl FAQ)
How can I make the Perl equivalent of a C structur
How can I make the Perl equivalent of a 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.