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