X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Findirect.git;a=blobdiff_plain;f=t%2F10-good.t;h=b88d721779fd773545a194f9451235b45b573cf2;hp=14f96d2e2decd2f66b164b6f3b12b6e8385da615;hb=c21777a35a9cee9151b6b2f6dcf5e16e17751c48;hpb=7ded1e91a0a0ddc3e709cda9573fe0e53a32e092 diff --git a/t/10-good.t b/t/10-good.t index 14f96d2..b88d721 100644 --- a/t/10-good.t +++ b/t/10-good.t @@ -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;