This will do the thing :)while (<>) { if ( m/^header/ ) { (my $output = "." . $_ . <>) =~ s/\n[+]/ /; print $output; last; } }
In reply to Re: Re: please help multiple lines parsing
by Berik
in thread please help multiple lines parsing
by member2004
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |