From: Vincent Pit Date: Mon, 1 Sep 2008 08:44:34 +0000 (+0200) Subject: Test quotelike environments X-Git-Tag: v0.05~3 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Findirect.git;a=commitdiff_plain;h=c21777a35a9cee9151b6b2f6dcf5e16e17751c48 Test quotelike environments --- diff --git a/t/10-good.t b/t/10-good.t index 6510bea..b88d721 100644 --- a/t/10-good.t +++ b/t/10-good.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More tests => 33 * 2; +use Test::More tests => 36 * 2; my ($obj, $pkg, $cb, $x); sub meh; @@ -122,3 +122,9 @@ 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;