For example, I have a list of 5 numbers (/proc/loadavg actually) and I want to store them in a hash %load so that the first load is stored in %load{'ONE'}, second in %load{'FIVE'}, third in %load{'FIFTEEN'}. The rest is discarded.
So, is there a simple way to store a list to a hash which has predefined keys?
In reply to A hash question by arkturuz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |