in reply to Issue with POP in array ref.
All of the above replies seem to be focused on making the pop work. However the impression I get is that you don't want to pop at all.
Your data structure doesn't seem to be at all related to the rest of the code, but putting that aside: why would you want to REMOVE the zip code from an array with a pop? I suspect you just want to assign the zip code to $zip, no popping involved.
|
|---|