Okay, here's my best guess at your problem.
while (<FILE>){ $line = /<begin>/ .. /<end>/; # do something powerful with $line here }
Actually, it's a FAQ question.
Update: Included the <begin/end> tags to reflect the question.
<kbd>--In reply to Re: Pattern Matching Question (answer, I think)
by OeufMayo
in thread Pattern Matching Question (I think)
by xf86
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |