./devel/p5-Eval-LineNumbers, Add line numbers to heredoc blocks that contain perl source code

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.1nb2, Package name: p5-Eval-LineNumbers-0.1nb2, Maintainer: pkgsrc-users

Add 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.


Required to run:
[lang/perl5]

Required to build:
[pkgtools/cwrappers]

Master sites:


Version history: (Expand)


CVS history: (Expand)


   2018-08-22 11:48:07 by Thomas Klausner | Files touched by this commit (3558)
Log message:
Recursive bump for perl5-5.28.0
   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   2017-01-30 15:16:42 by Makoto Fujiwara | Files touched by this commit (3)
Log message:
Import p5-Eval-LineNumbers-0.1 as devel/p5-Eval-LineNumbers.

Add 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.