- or download this
while (<FH>)
{
print C $_ if /^abcde.*PARTNAME$/;
}
- or download this
my $re = qr/^$start.*$end$/;
while (<FH>)
{
print C $_ if m/$re/;
}
- or download this
my $startre = qr/^$start/;
my $endre = qr/$end$/;
...
{
print C $_ if m/$startre/ and m/$endre/;
}