From 0c5c527f2879378a15f37d6bef271c9a2ea67cc7 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Tue, 26 Jun 2012 22:17:15 -0700 Subject: [PATCH] =?utf8?q?perldiag:=20Add=20cat=20for=20=E2=80=98Attempt?= =?utf8?q?=20to=20set=20length=20of=20freed=20array=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- pod/perldiag.pod | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 160d397..af9b87a 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -345,9 +345,10 @@ L. =item Attempt to set length of freed array -(W) You tried to set the length of an array which has been freed. You -can do this by storing a reference to the scalar representing the last index -of an array and later assigning through that reference. For example +(W misc) You tried to set the length of an array which has +been freed. You can do this by storing a reference to the +scalar representing the last index of an array and later +assigning through that reference. For example $r = do {my @a; \$#a}; $$r = 503 -- 2.7.4