I could just as well use (and more efficient too):if (/$start/ or /$stop/) { print; }
The meaning of $& is explained in perlvar asif ($&) { print; }
The string matched by the last successful pattern match.You can also use $MATCH if you use English;
In reply to Re^2: Text matching repost
by Neighbour
in thread Text matching repost
by prassi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |