Thanks. I modified the while loop to fit my purpose.
Sami Panula (aka Ron B)
Bob Showalter wrote:
Ron B wrote:
My problem is how to print the next line after the line that
includes BLAH. So I want to print lines including BLAH keyword and
when BLAH is found the next line after it.
#!/usr/bin/perl
Ron B wrote:
> My problem is how to print the next line after the line that
> includes BLAH. So I want to print lines including BLAH keyword and
> when BLAH is found the next line after it.
>
> #!/usr/bin/perl
> # print lines wich include BLAH keyword
> print "Content-type: text/html\n\n";
> prin