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

Re: RFC: Multiple-alias syntax for for

Thread Previous | Thread Next
From:
Tomasz Konojacki
Date:
June 9, 2021 17:23
Subject:
Re: RFC: Multiple-alias syntax for for
Message ID:
20210609192311.52DC.5C4F47F8@xenu.pl
On Tue, 8 Jun 2021 11:20:57 +0000
Nicholas Clark <nick@ccl4.org> wrote:

> About two months ago Rik had mentioned to me the idea of implementing this
> (currently illegal) syntax to iterate over hashes:
> 
>     for my ($key, $value) (%hash) { ... }
> 
> which isn't actually hash specific - it generalises to N-at-a-time over any
> list.

I love this feature, it's something I've been really missing in Perl.
Also, I'm really glad we finally have an RFC process :)

> 2) Format - PSC had thought Markdown, as many places can render it.
> 
> However,
> 
> a) github itself can render Pod. Is it the only git hosting service that can?
> b) I've already found that my local markdown renderer and github disagree
>    about nested lists, which is annoying - how many other bugs will I hit?
> c) Pod doesn't do tables, but plain markdown doesn't either.
>    github extended markdown with tables, but
>    i)  How many other markdown implementations follow them?
>    ii) Are there alternative competing "table" dialects of Markdown?
> d) I'm missing =cut

Personally, I'm in favor of POD, dogfooding FTW. I don't know about the
other git hosting services, but why does it matter? We are using Github.


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