in reply to Re^2: How can I store two values with the same key in a hash?
in thread How can I store two values with the same key in a hash?

It doesn't work.

You know, that's really not a very useful bug report. In what way did it fail to work? What unexpected behaviour did you see?

Using this code, the values in your hash are no longer scalars, they have become array references. Did you make the changes required to deal with that?

You need to understand the changes that you are making to your code. Don't just copy code from the web without knowing what it does.

--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

  • Comment on Re^3: How can I store two values with the same key in a hash?