in reply to Re^2: Delete line
in thread Delete line
gives:use strict; use warnings; while(<DATA>) { print if /IT/ } __DATA__ This is IT for now Nothing of interest here Looping is used for ITeration
However if we use the word boundary anchor \b:This is IT for now Looping is used for ITeration
we only getwhile(<DATA>) { print if /\bIT\b/ }
This is IT for now
|
|---|