in reply to variable based #line directives?
I think you can do the appropriate faking of #line numbers only through eval. #line directives are only evaluated at compile time of code, so they cannot use variables.
If you want to wrap/warp Test::More, you want to look at Test::Builder. It also tells you how to skip levels in reporting the error location - see caller.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: variable based #line directives?
by chorankates (Novice) on Aug 20, 2011 at 22:04 UTC | |
by Corion (Patriarch) on Aug 21, 2011 at 07:35 UTC | |
by choroba (Cardinal) on Aug 23, 2011 at 09:45 UTC |