in reply to Re^3: help reassigning hash with arrayref
in thread help reassigning hash with arrayref

Thanks. You are correct. But I'm still have an issue with the array being assigned in scalar context.
  • Comment on Re^4: help reassigning hash with arrayref

Replies are listed 'Best First'.
Re^5: help reassigning hash with arrayref
by Anonymous Monk on Nov 16, 2011 at 02:34 UTC

    Thanks. You are correct. But I'm still have an issue with the array being assigned in scalar context.

    Um, what?

    If you don't want to make a copy, like Grandfather showed here, then simply copy the reference , meaning, forget about dereferencing.

    If that doesn't make sense, then show as asked, the data structure you're trying to create, the same way you showed your input data structure.