Bug 7207 - Reverting a portion of commit
607b5449bd5cb which breaks the label export script.
squashed chris_n's two patches. Label export works again. Also changed the pattern for the item_number to the known working, critic friendly pattern.
Don't change $_ in a list context
Changed the 3rd bit to the critic friendly pattern chris_n suggests in the previous two lines.
Signed-off-by: Brendan <brendan@bywatersolutions.com>
(cherry picked from commit
7824a1bc8da020b11fa9473f09fb7c6429390034)
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>