Since you are impatient (in the chatterbox), here is a quicky way:
while( <> ) { if( /\Qsid=167216582&ID=116\E/ ) { my $nextLine= <>; print $nextLine; } }
A bit shy on details, just like your question. (:
- tye
In reply to Re: how do i get the 2nd line when the 1st is matched (quicky)
by tye
in thread how do i get the 2nd line when the 1st is matched
by Kanishka
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |