On Sun, 25 Sep 2016 01:22:39 GMT, davidnicol@gmail.com wrote: > thanks for this explanation! I too thought package replaced rather > than nested, and I was surprised to see this output: > > $ perl -le 'package a; { print __PACKAGE__; package b; print > __PACKAGE__; } print __PACKAGE__;' > a > b > a > > > I was expecting a, b, b. Was it initially broken, like in perl 5.0.0? > > Anyway, some kind of improvement to the documentation of this makes > sense as it currently can be misinterpreted. > > dln > In order to move this ticket toward resolution, I am proposing the attached patch to pod/perlmod.pod. Please review. I'll apply to blead within 7 days if there are no objections. Thank you very much. -- James E Keenan (jkeenan@cpan.org) --- via perlbug: queue: perl5 status: open https://rt.perl.org/Ticket/Display.html?id=129345Thread Next