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

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

Thread Previous | Thread Next
Joseph Brenner
June 1, 2022 15:20
Re: Pre-RFC: syntax for quote-words-arrayref
Message ID:
Neil Bowers <> wrote:

>    $w = qs[
>               zork         # blah blah
>               xyzzy        # plugh plugh
>               $favourite
>              @defaults
>            ];

I would definitely use a feature like this, particularly for
temporarily commenting out values.

I won't weigh in on syntax preference-- I doubt I'd have a problem
with whatever you settle on.

Just to make a general point: don't dismiss ideas like this because
the improvement seems too small-- one of the more popular features of
modern perl is "say".

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About