Closed dseynhae closed 3 years ago
From the perl documentation "use VERSION also lexically enables all features available in the requested version". While the Debug Console run the code in the same package as your current program, so symbols imported by use will work, the lexical scope is different, beause it is not supported by the Perl interpreter to run in the same lexcial scope. The debugger only emulates for access of variable the lexical scope. Because of this reason this can't be fixed. The problem only applies to lexcial scoped use statements.
I expect the Debug Console to have access to all modules that are loaded by the program. Consider:
test.pl
When I start a Debug Session, the feature bundle
5.030
is already loaded. Yet when I tray tosay
something in the Debug Console, the command is not recognized. If I load the feature bundle on the same line as thesay
command, then it is working. But I shouldn't have to do that: