use strict; use warnings; while() { print if /IT/ } __DATA__ This is IT for now Nothing of interest here Looping is used for ITeration