summaryrefslogtreecommitdiff
path: root/t/pragma
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-07-25 02:39:54 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-07-25 02:39:54 +0000
commit297b36dcf845fc5195afb0a1d7e83d539bb1d4ed (patch)
tree30b23dc3508bb085226219e2c94648f2288d7c6f /t/pragma
parent188ff3c1f17467ccacb0b31f3e13fd49b5b438a7 (diff)
downloadperl-297b36dcf845fc5195afb0a1d7e83d539bb1d4ed.tar.gz
Make the "uninit variable" warning to say "concat or string"
or "join or string" when in concat or join . Subject: Re: [ID 20000403.009] uninitialised concatenation??? From: "M.J.T. Guy" <mjtg@cus.cam.ac.uk> Date: Tue, 04 Apr 2000 18:22:58 +0100 Message-Id: <E12cX2Y-000364-00@taurus.cus.cam.ac.uk> Subject: [ID 20000330.052] Use of uninitialized value in concatenation (.) From: William R Ward <hermit@BayView.COM> Date: Thu, 30 Mar 2000 19:50:03 -0800 Message-Id: <200003310350.TAA13319@komodo.bayview.com> p4raw-id: //depot/perl@6434
Diffstat (limited to 't/pragma')
-rw-r--r--t/pragma/warn/op2
-rw-r--r--t/pragma/warn/sv2
2 files changed, 2 insertions, 2 deletions
diff --git a/t/pragma/warn/op b/t/pragma/warn/op
index 7368275a00..de326f8b0c 100644
--- a/t/pragma/warn/op
+++ b/t/pragma/warn/op
@@ -278,7 +278,7 @@ Useless use of hash element in void context at - line 29.
Useless use of hash slice in void context at - line 30.
Useless use of unpack in void context at - line 31.
Useless use of pack in void context at - line 32.
-Useless use of join in void context at - line 33.
+Useless use of join or string in void context at - line 33.
Useless use of list slice in void context at - line 34.
Useless use of sort in void context at - line 37.
Useless use of reverse in void context at - line 38.
diff --git a/t/pragma/warn/sv b/t/pragma/warn/sv
index 758137f2e8..2409589a8f 100644
--- a/t/pragma/warn/sv
+++ b/t/pragma/warn/sv
@@ -178,7 +178,7 @@ no warnings 'uninitialized' ;
$C = "" ;
$C .= $A ;
EXPECT
-Use of uninitialized value in concatenation (.) at - line 10.
+Use of uninitialized value in concatenation (.) or string at - line 10.
########
# sv.c
use warnings 'numeric' ;