[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#745438: ITP: libeval-linenumbers-perl -- module to add line numbers to eval'ed heredoc blocks



Package: wnpp
Owner: gregor herrmann <gregoa@debian.org>
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org,debian-perl@lists.debian.org

* Package name    : libeval-linenumbers-perl
  Version         : 0.34
  Upstream Author : David Muir Sharnoff <cpan@dave.sharnoff.org>
* URL             : https://metacpan.org/release/Eval-LineNumbers
* License         : Artistic-2.0 or LGPL-2.1
  Programming Lang: 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 \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.

Attachment: signature.asc
Description: Digital Signature


Reply to: