We don't bite newbies here... much | |
PerlMonks |
Re: Difference between array and a hash? (Newbie concerns)by ikegami (Patriarch) |
on Jul 30, 2009 at 03:11 UTC ( [id://784456]=note: print w/replies, xml ) | Need Help?? |
Perl hashes are associative arrays. They're called hashes because they're implemented as hash tables. If I understood correctly, you called $array = array(1, 2, 3, 4); an associative array. It's not. It's just an array (if that) because the values aren't associated with anything.
In Section
Seekers of Perl Wisdom
|
|