]> git.vpit.fr Git - perl/modules/indirect.git/blobdiff - t/10-good.t
Test quotelike environments
[perl/modules/indirect.git] / t / 10-good.t
index 14f96d2e2decd2f66b164b6f3b12b6e8385da615..b88d721779fd773545a194f9451235b45b573cf2 100644 (file)
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 32 * 2;
+use Test::More tests => 36 * 2;
 
 my ($obj, $pkg, $cb, $x);
 sub meh;
@@ -120,3 +120,11 @@ meh $x, 1 , 2;
 print STDOUT "bananananananana\n";
 ####
 print $x "oh hai\n";
+####
+$x->foo($pkg->$cb)
+####
+$obj = "apple ${\(new Hlagh)} pear"
+####
+$obj = "apple @{[new Hlagh]} pear"
+####
+s/dongs/new Hlagh/e;