in reply to Re: Storing an indeterminate number of hash keys in a variable
in thread Storing an indeterminate number of hash keys in a variable

Wish you could edit comments :) I mean that storing the keys of a hash seems messy, thus the struct solution.
  • Comment on Re^2: Storing an indeterminate number of hash keys in a variable

Replies are listed 'Best First'.
Re^3: Storing an indeterminate number of hash keys in a variable
by muba (Priest) on Jul 09, 2011 at 02:25 UTC

    In fact you can. Just click on the title of your reply (or this link, in this case), scroll down until you see the text box, edit its content, hit the update button and you're done. It's as simple as it sounds :)

    Edit:To prove my point, and to also contribute my two cents to the discussion at hand, wind's solution above is along the lines of what I would've tried.

      When sufficiently tired, I've also been unable to figure out how to edit my own node. ;-) But thanks for pointing out how to the OP. :-)

      HTH,

      planetscape
      Hey, thanks! Very handy on the comment editing. I realized after my post that you don't seem to know the number of fields you will have prior to creating them, so my solution wouldn't work for you any way. Reading comprehension fail on my part :)