>If I understand you correctly, you're wanting __LINE__etc to be changed from compile-time constants to run-time functions? No. Maybe change the value it is compiled into when this is 'eval' in DB package > By 'eval in debugger mode', are you referring to the 'x' debugger > command, > or perl's built-in 'eval' function, or something else? Sorry, This is too often I may explain poor I mean next: eval EXPR, FRAMENUMBER An eval '' executed within a subroutine defined in the DB package doesn't see the usual surrounding lexical scope, but rather the scope of **the first** non-DB piece (FRAMENUMBER=0) of code that called it. You can provide FRAMENUMBER to force eval see the second (FRAMENUMBER=1), the third (FREAMENUMBER=2) scope --- via perlbug: queue: perl5 status: open https://rt.perl.org/Ticket/Display.html?id=133123Thread Previous | Thread Next