push @newdeck, pop, shift while @_; #### push @newdeck, grep defined, pop, shift while @_;