From: Vincent Pit Date: Sat, 11 Oct 2008 11:04:51 +0000 (+0200) Subject: Test system and exec X-Git-Tag: v0.06~1 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Findirect.git;a=commitdiff_plain;h=b99dacb6b9a2fbdce5c91be542fff546f4c02fd9 Test system and exec --- 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;