Install libeval-linenumbers-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libeval-linenumbers-perl
Description:
module to add line numbers to eval'ed heredoc blocks
Eval::LineNumbers adds a '#line "this-file" 392' comment to heredoc/hereis text that is going to be eval'ed so that error messages will point back to the right place. . Please note: when you embed in your code, it gets expanded in double-quote hereis documents so it will mess up your line numbering. Use instead when you can.
Homepage: https://metacpan.org/release/Eval-LineNumbers
Version: 0.34-1
Section: universe/perl