From f652f7a555220290c8a3a6c757a06871483f14f9 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Tue, 13 Oct 2009 15:37:12 +0100 Subject: [PATCH] shift with barewords is deprecated, so this test from perl 1 needs updating. --- t/op/unshift.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/op/unshift.t b/t/op/unshift.t index 0c26623..30291fb 100644 --- a/t/op/unshift.t +++ b/t/op/unshift.t @@ -3,10 +3,10 @@ print "1..2\n"; @a = (1,2,3); -$cnt1 = unshift(a,0); +$cnt1 = unshift(@a,0); if (join(' ',@a) eq '0 1 2 3') {print "ok 1\n";} else {print "not ok 1\n";} -$cnt2 = unshift(a,3,2,1); +$cnt2 = unshift(@a,3,2,1); if (join(' ',@a) eq '3 2 1 0 1 2 3') {print "ok 2\n";} else {print "not ok 2\n";} -- 2.7.4