Generate absolute #line for the packed modules
[p5sagit/App-FatPacker.git] / t / line / lib / line / a.pm
diff --git a/t/line/lib/line/a.pm b/t/line/lib/line/a.pm
new file mode 100644 (file)
index 0000000..db45e6b
--- /dev/null
@@ -0,0 +1,9 @@
+
+# This file will be included in the packed file generated by t/line.t
+
+# Check that the name is the one of the packed file
+is __FILE__, $main_file, '__FILE__';
+# Check that the line is the one where the module code starts in the packed file
+is __LINE__, 14, '__LINE__';
+
+1;