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
In reply to Re^3: Delete line
by cdarke
in thread Delete line
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |