sub getInfoFromMultipleLine { #Openning file for reading open(IFH,"$InputFile") || die "Can't open file: $InputFile\n"; my $stag='START'; my $etag='END'; my $line; while(<IFH>) { print if /$stag/../$etag/; } }
In reply to Re: How to extract Start .. End from multiline file
by svenXY
in thread How to extract Start .. End from multiline file
by gasho
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |