Sure, the far right side is a hash, but what are keys and values? They are built-in functions (just like sort) that return lists. The trick is what you do with those lists.print $key for $key sort keys %hash; print $val for $val sort values %hash;
What is the difference between a list and array? Well, you did take The Mad Hatter's advice and read japhy's article, didn't you? Just remember, a lot of folks (including myself) have a hard time understanding that material. Sometimes the concept itself is just too darned difficult for anyone to teach it in an easy to digest manner ... repeated reading / experimentation is how i learn that stuff. Sometimes that revelation doesn't hit you until years have passed. Keep on truckin' ... or change your interest and do something else. ;)
jeffa
rinse ... repeat ...In reply to (jeffa) 3Re: array pushing
by jeffa
in thread array pushing
by sulfericacid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |