libeval-linenumbers-perl

module to add line numbers to eval'ed heredoc blocks

Description

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 \n in your code, it gets expanded in double-quote hereis documents so it will mess up your line numbering. Use \\n instead when you can.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/Eval-LineNumbers


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libeval-linenumbers-perl