http://www.perlmonks.org?node_id=988241


in reply to How can I get the current OP address (akin to PC)?

rockyb,

I've never used it, but '__LINE__' represents the current line number. Maybe you could use super search to find out more. I know I have seen references to its use on PM. I had hoped someone who had used it would pipe-in, but it is the weekend!

Good Luck

"Well done is better than well said." - Benjamin Franklin