From: Ronald J. Kimball Date: Wed, 23 Aug 2000 14:12:16 +0000 (-0400) Subject: Better wording for the vec lvalue diagnostic. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5243b939e8364e85731ce76ff81a618a6716b0f3;p=p5sagit%2Fp5-mst-13.2.git Better wording for the vec lvalue diagnostic. Subject: Re: [PATCH] Re: [ID 20000821.008] Negitive numbers with vec dumps core Message-ID: <20000823141215.A173200@linguist.dartmouth.edu> p4raw-id: //depot/perl@6807 --- diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 8a37588..da03b91 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -182,10 +182,10 @@ spots. This is now heavily deprecated. must either both be scalars or both be lists. Otherwise Perl won't know which context to supply to the right side. -=item Assigning to negative offset in vec +=item Negative offset to vec in lvalue context -(F) The second argument to vec() must refer to an actual element of -the string if you wish to assign to it. +(F) When vec is called in an lvalue context, the second argument must be +greater than or equal to zero. =item Attempt to bless into a reference