in reply to line no. in a file

The problem is that $. is from the perspective of the debugger.
What you might want to do is keep track of the line number of your file with your own variable.

Replies are listed 'Best First'.
Re: Re: line no. in a file
by Adam (Vicar) on Dec 29, 2000 at 06:40 UTC
    or localize $. in your code.