Install libdevel-stacktrace-withlexicals-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libdevel-stacktrace-withlexicals-perl
Description:
Perl module for stack traces with access to lexical variables
Devel::StackTrace::WithLexicals extends Devel::StackTrace allowing the generation of stack traces where it is possible to inspect or change callers' lexical variables.
Homepage: https://metacpan.org/release/Devel-StackTrace-WithLexicals
Version: 2.01-2
Section: universe/perl