]> git.vpit.fr Git - perl/modules/indirect.git/blobdiff - t/lib/indirect/Test2.pm
In string-like envs, take the position to the beginning of the string
[perl/modules/indirect.git] / t / lib / indirect / Test2.pm
diff --git a/t/lib/indirect/Test2.pm b/t/lib/indirect/Test2.pm
new file mode 100644 (file)
index 0000000..296b66a
--- /dev/null
@@ -0,0 +1,8 @@
+no indirect ":fatal";
+my $x;
+if ($x) {
+my $y = qq{abcdef
+ @{[$x->new]}
+ };
+}
+1;