develooper Front page | perl.perl5.porters | Postings from June 2022

Re: Pre-RFC: syntax for quote-words-arrayref

Thread Previous | Thread Next
From:
Alexander Hartmaier
Date:
June 7, 2022 10:13
Subject:
Re: Pre-RFC: syntax for quote-words-arrayref
Message ID:
CAB49QrZQGP_fFcrzOqipLhrMaRK7XQ3Ew+tHFEZZ+_Sf-O7PDg@mail.gmail.com
Why not have something like post-deref for creating references instead of
adding one solution for quoted lists?

my $arrayref = qw( a b c )->*@;

I just reversed @* because I can't think of a good syntax and also don't
know the Perl parser to suggest an implementable solution.

Thread Previous | 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