diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-06-26 22:17:15 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-06-27 00:52:49 -0700 |
commit | 0c5c527f2879378a15f37d6bef271c9a2ea67cc7 (patch) | |
tree | 13a6edb0b98dc7e134558e4dc7e46adac0d23f20 /pod/perldiag.pod | |
parent | ca3f996a2d83666a56db1ff397a0882f51a46ce8 (diff) | |
download | perl-0c5c527f2879378a15f37d6bef271c9a2ea67cc7.tar.gz |
perldiag: Add cat for ‘Attempt to set length of freed array’
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r-- | pod/perldiag.pod | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 160d397141..af9b87af15 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -345,9 +345,10 @@ L<perlvar/%INC>. =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 |