X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F10-good.t;h=388f8a049d5bc915a27a8bbd67fbf5e3f8abcdf5;hb=0211e9efff1d599a979106005c9d3f14cdfbe2cf;hp=0132f45ec4ac6ea96569815a5c843706ac071c22;hpb=f4e7787d7c015980abba9a8d76f0293f24e0ab94;p=perl%2Fmodules%2Findirect.git diff --git a/t/10-good.t b/t/10-good.t index 0132f45..388f8a0 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 => 41 * 4; -my ($obj, $pkg, $cb, $x); +my ($obj, $pkg, $cb, $x, @a); sub meh; { @@ -133,6 +133,8 @@ meh $x; #### meh $x, 1 , 2; #### +print; +#### print STDOUT "bananananananana\n"; #### print $x "oh hai\n"; @@ -144,3 +146,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;