/prakashopen (RUNSET, "<text.txt" ) || die "Can't access test\n"; while (<RUNSET>) { if (/^\*DESCRIPTION$/ .. /^\*END$/) { # do any substitutions } } close RUNSET;
In reply to Re: Search for a BLOCK of text and selectively replace
by PrakashK
in thread Search for a BLOCK of text and selectively replace
by Rhodium
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |