develooper Front page | perl.perl6.compiler | Postings from June 2018

[perl #131392] [@LARRY] Remove magic $/ shortcuts %() and @()

From:
Aleks-Daniel Jakimenko-Aleksejev via RT
Date:
June 23, 2018 11:48
Subject:
[perl #131392] [@LARRY] Remove magic $/ shortcuts %() and @()
Message ID:
rt-4.0.24-15633-1529754503-1515.131392-80-0@perl.org
Further discussion on https://github.com/rakudo/rakudo/issues/1946

On 2017-05-28 21:20:08, cpan@zoffix.com wrote:
> On Sun, 28 May 2017 18:18:14 -0700, raiph wrote:
> > If there hasn't been significant adoption of these tokens in extant
> > code then I'd personally +1 deprecation of them in v6.d in favor of
> > `%$/` and `@$/`.
>
> +1. Even knowing $() was special, it didn't occur to me %() and @()
> could be special too. While $() saves some typing, the %() vs %$/ are
> no win IMO.
>
> I listed removal as a proposal in 6.d doc:
> https://github.com/perl6/specs/blob/master/v6d.pod
>
> Renaming this ticket to @LARRY/6.d RFC




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