in reply to Re: variable based #line directives?
in thread variable based #line directives?
thanks very much for suggesting i look at Test::Builder, was able to modify Test::Builder::Level in my wrapping module and i am now getting the correct line/script number.
just for my edification, can you point me in the direction of some eval #line directive examples? all of the formats i tried before going to Test::Builder did not affect caller() at all. i tried (same code as originally posted, but adding this on line 13 of test.pl):
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: variable based #line directives?
by Corion (Patriarch) on Aug 21, 2011 at 07:35 UTC | |
|
Re^3: variable based #line directives?
by choroba (Cardinal) on Aug 23, 2011 at 09:45 UTC |