in reply to print and extract the line

What error did it "give"?

What are you actually trying to do?

Are you aware that you are not actually reading from your file?

Maybe you want to use App::Ack?

Have you seen the $. variable? See perlvar.

Replies are listed 'Best First'.
Re^2: print and extract the line
by suhailck (Friar) on Jul 07, 2010 at 13:19 UTC
    Sorry, i didn't notice your reply on $. in this thread.