use strict; use warnings; while () { print "The fourth element is ", (split)[3], "\n"; } __DATA__ one two three four five six seven A B C D E F G H I spam eggs spam spam and spam