@first=unpack("A12A12A24A10",$_); @second=splice(@first,24); __DATA__ this one worked fine.