Add a #line directive to identify the source of an error
[p5sagit/Eval-WithLexicals.git] / lib / Eval / WithLexicals.pm
index 6571291..c7b5fca 100644 (file)
@@ -36,6 +36,7 @@ sub eval {
 ${setup}
 sub Eval::WithLexicals::Cage::current_line {
 package ${package};
+#line 1 "(eval)"
 ${to_eval}
 ;sub Eval::WithLexicals::Cage::pad_capture { }
 BEGIN { Eval::WithLexicals::Util::capture_list() }