in reply to Re^3: Spliting array into nested sequential arrays
in thread Spliting array into nested sequential arrays

My assumption was that I no longer had @array1 to work with and had to create the final sorted array from @newarray.
  • Comment on Re^4: Spliting array into nested sequential arrays

Replies are listed 'Best First'.
Re^5: Spliting array into nested sequential arrays
by boftx (Deacon) on Oct 29, 2014 at 02:17 UTC

    Never assume what is required. Trust me. Ask and ask again and preferably get the specs in writing. If the spec is ambiguous, then I assure you that you will have to either do it over or have people call your code naive at best. :)

    You must always remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.
      Oh of course, I get that... :D

      This was an interview situation and it was not just an assumption but kind of a logical thought process from their question. "Now from this, do such and such..."