X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperldata.pod;h=dc2975a7d44a4197a441f48d4b00362aa78c3d8e;hb=26f28346883474bb3e28ea6c2c3205eb54147457;hp=38d5e9380d630f8803a41d7a4112149a940fd686;hpb=a00c1fe511e2428fef6e71b4b7d1feb78dff9aa3;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perldata.pod b/pod/perldata.pod index 38d5e93..dc2975a 100644 --- a/pod/perldata.pod +++ b/pod/perldata.pod @@ -196,7 +196,7 @@ You can truncate an array down to nothing by assigning the null list () to it. The following are equivalent: @whatever = (); - $#whatever = $[ - 1; + $#whatever = -1; If you evaluate a named array in a scalar context, it returns the length of the array. (Note that this is not true of lists, which return the