This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
document ref assignment in list context
authorDavid Mitchell <davem@iabyn.com>
Fri, 10 Nov 2023 12:22:12 +0000 (12:22 +0000)
committerDavid Mitchell <davem@iabyn.com>
Mon, 4 Dec 2023 16:32:42 +0000 (16:32 +0000)
commit08368a773f179335566e09096be6e015368237d1
treed0b087532ca77a6de1b8a85aece7a070065f3145
parentcf76a266bc6885426c28eaa1a5fa11ef695c282a
document ref assignment in list context

The 'refaliasing' feature, whereby assigning to a literal reference
causes an aliasing operation (e.g. \$x = \...) didn't document what was
returned if the assignment was done in list context.

This commit adds a basic summary to the docs.

See the thread http://nntp.perl.org/group/perl.perl5.porters/267074
for the discussion.
pod/perlref.pod