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

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

Thread Previous | Thread Next
Marc Chantreux
March 9, 2021 16:02
Re: Perl feature wish: quote-word array-ref operator
Message ID:
hello everyone,

> > 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//.

i understand my proposal to have a regular system with all solution may
be too much but can you at least consider the hash reference counterpart
of a qh// counterpart for qa// that returns a hash reference ?

    my $user = qh/
        uid 1000
        login mc
        shell /bin/rc
        home  /home/mc


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