in reply to Executing line number

caller can get you the line number where the current subroutine was called. Carp might also be of interest.