Hi,
what is the difference between these declarations?
my(@a) = (); my($b) = {}; my(@c) = []; my(%d) = ();
It seems like we can build Hashes of hashes, array of hashes, record structures etc, either by using pointer syntax or some other way... I am getting somewhat confused on what is the best most efficient way.. All declarations above seem to work without any noticeable difference *shrug*.
David
In reply to data types by dave8775
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |