Maybe a substitution:
print s/^(\d\d)\d*\K/$1/r while <DATA>; [download]
In reply to Re: Array manipulation by Anonymous Monk in thread Array manipulation by PetreAdi