develooper Front page | perl.perl5.porters | Postings from March 2021

Re: Perl feature wish: quote-word array-ref operator

Thread Previous | Thread Next
Paul "LeoNerd" Evans
March 9, 2021 12:24
Re: Perl feature wish: quote-word array-ref operator
Message ID:
On Fri, 5 Mar 2021 08:48:25 +0000
Neil Bowers via perl5-porters <> wrote:

> It would be handy to have a "quote word arrayref operator" in Perl,
> that combines [] with qw.
> The proposed syntax doesn't currently compile, so maybe this could
> just be added to the language, without an experimental or feature
> guard? Because there's already qwa// on CPAN (see below), I'm
> suggesting qa//.

That sounds an exciting idea.

It's also one that would be quite easy for someone to add, largely by
following my "How to write a Perl core feature" blog series:

Rather than having a go at it myself, I'd be happy to help someone else
along with it, by way of a mentoring/educational exercise, and as a
good test run of that blog series to see if it's sufficient for such a

Does anyone feel like attempting that?

Paul "LeoNerd" Evans      |  |

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