X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Findirect.git;a=blobdiff_plain;f=t%2F10-good.t;h=964cafe4fd66738ef68dc993267007d209974ce6;hp=0132f45ec4ac6ea96569815a5c843706ac071c22;hb=b99dacb6b9a2fbdce5c91be542fff546f4c02fd9;hpb=f4e7787d7c015980abba9a8d76f0293f24e0ab94 diff --git a/t/10-good.t b/t/10-good.t index 0132f45..964cafe 100644 --- a/t/10-good.t +++ b/t/10-good.t @@ -9,9 +9,9 @@ package main; use strict; use warnings; -use Test::More tests => 36 * 4; +use Test::More tests => 40 * 4; -my ($obj, $pkg, $cb, $x); +my ($obj, $pkg, $cb, $x, @a); sub meh; { @@ -144,3 +144,11 @@ $obj = "apple ${\(new Hlagh)} pear" $obj = "apple @{[new Hlagh]} pear" #### s/dongs/new Hlagh/e; +#### +exec $x $x, @a; +#### +exec { $a[0] } @a; +#### +system $x $x, @a; +#### +system { $a[0] } @a;