From: Vincent Pit Date: Tue, 14 Jul 2009 15:31:50 +0000 (+0200) Subject: Rename try() to zap() as we'll need try() for something else soon X-Git-Tag: v0.16~7 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=a14a12252b6c78b0f231e4d5e05480c90caac29c;p=perl%2Fmodules%2Findirect.git Rename try() to zap() as we'll need try() for something else soon --- diff --git a/t/20-good.t b/t/20-good.t index 0f482a5..87e53cb 100644 --- a/t/20-good.t +++ b/t/20-good.t @@ -14,7 +14,7 @@ use Test::More tests => 56 * 4; my ($obj, $pkg, $cb, $x, @a); our $y; sub meh; -sub try (&); +sub zap (&); { local $/ = "####"; @@ -178,10 +178,10 @@ system $x $x, @a; #### system { $a[0] } @a; #### -try { }; +zap { }; #### -try { 1; }; +zap { 1; }; #### -try { 1; 1; }; +zap { 1; 1; }; #### -try { try { }; 1; }; +zap { zap { }; 1; };