how do I create a hash on the line I use push.
i.e.
i want @array to have an index which holds a hash, key = 'a_name' value = 'January', key = 'text' value='January'
hope this makes sense.
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
i.e.
Code:
push @array, "key->value,key->value";
i want @array to have an index which holds a hash, key = 'a_name' value = 'January', key = 'text' value='January'
hope this makes sense.
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.