http://www.perlmonks.org?node_id=958331


in reply to Re^3: arrays: shifting in while loop
in thread arrays: shifting in while loop

Great, I knew I missed something from your original post.