From 3ec7366d6e55faeec117a14bd09dcb29ffbb65a1 Mon Sep 17 00:00:00 2001 From: Graham Ollis Date: Wed, 26 Dec 2012 21:56:21 -0500 Subject: [PATCH] better diagnostics use filename and linenumber in eval for better diagnostic in test --- t/tt_plugin_lite_app.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/tt_plugin_lite_app.t b/t/tt_plugin_lite_app.t index dfd501d..11d89bd 100644 --- a/t/tt_plugin_lite_app.t +++ b/t/tt_plugin_lite_app.t @@ -7,7 +7,7 @@ use warnings; BEGIN { unless($^O eq 'MSWin32') { - eval q{ + eval '# line '. __LINE__ . ' "' . __FILE__ . qq("\n). q{ use POSIX qw( setlocale LC_ALL ); setlocale(LC_ALL, 'C'); };