in reply to Re^2: (Expert) Splicing a slice
in thread (Expert) Splicing a slice

Wow. Not only did you provide the module needed, but you also provided the inside-out thinking that makes the problem solveable.

Basically, the idea is that I have a set of attributes and an array that grows and shrinks. Instead of having a hashref with an entry pointing to an arrayref, I was thinking I should be able to just have an arrayref. If that's all it was, I could have the attributes up front and the array in the back. But, I want to be able to add attributes in subclasses, so the array has to live up front. I also wanted to use splice for some of the array manipulation sections.

I'll have to see if I can work this in, but it's definitely a promising idea. THANKS! :-)


My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?