in reply to Executing line number

What I would be asking here though.. is why?

I find that more important than telling myself what line I am executing is telling myself *what* is happening.

Perl is pretty freaking nice about telling you where things went ape- unless the code is all messed up. You know, whenever you use die().. You get told what program and where... This is way cool. Usually unless you tell perl to lie, or to give stupid output, it's very nice about finding what's up. This as opposed to stuff like php, which is the devil.

If you're using this because you have a large program that may screw up in many places... Use Carp.. Especially Carp::cluck().. which doesn't kill your program.. but tells you what happened all the way back... (man Carp)