X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperldiag.pod;h=5fdeb70ab8c9d407612f0773a094567c12f4afb1;hb=92c2ed055315fc5be2c58f97c40236945f31f32e;hp=43226e076d518a96fed77ea62dd8c0a664487a0f;hpb=8202fd39354c88c225e4200fee9877f5a082eebe;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 43226e0..5fdeb70 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -697,6 +697,13 @@ lexical variable using "my". This is not allowed. If you want to localize a package variable of the same name, qualify it with the package name. +=item Can't localize pseudo-hash element + +(F) You said something like C{'key'}>, where $ar is +a reference to a pseudo-hash. That hasn't been implemented yet, but +you can get a similar effect by localizing the corresponding array +element directly -- C[$ar-E[0]{'key'}]>. + =item Can't locate auto/%s.al in @INC (F) A function (or method) was called in a package which allows autoload,