develooper Front page | perl.perl5.porters | Postings from July 2020

So are refaliasing and declared_refs stable?

Thread Next
From:
Eric Brine
Date:
July 20, 2020 23:30
Subject:
So are refaliasing and declared_refs stable?
Message ID:
CALJW-qEJSqpoGP4+k+8hfOR0HeYkx2N9dGYCbSZswbsaj2EGMw@mail.gmail.com
In reference to https://github.com/Perl/perl5/wiki/SC-Notes-2020-07-14

1. We see that refaliasing is going to be on by default in Perl 7. Yet,
refaliasing is still experimental in Perl 5.32! Are there any known issues
or concerns with refaliasing?

2. The example code for what is going to be on by default in Perl 7
requires the declared_refs feature.*  Yet, declared_refs is still
experimental in Perl 5.32! Are there any known issues or concerns with
declared_refs?

The document acknowledges there was some confusion among the attendees as
to the difference between the two features. It's quite simple:

\my @a = [];    # Requires refaliasing
my \@a = [];    # Requires refaliasing and declared_refs

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About