Wed May 20 15:48:56 2020EDAVIS [...] cpan.org - Ticket created
Subject:
Wishlist: uniqi for case-insensitive
uniqi is like uniq but compares strings case-insensitively, as fc($a) eq fc($b). The first occurrence of each value is used.
Wed May 20 18:25:11 2020ether [...] cpan.org - Correspondence added
On 2020-05-20 12:48:56, EDAVIS wrote:
Show quoted text
> uniqi is like uniq but compares strings case-insensitively, as fc($a)
> eq fc($b). The first occurrence of each value is used.
See List::UtilsBy::uniq_by.
Wed May 20 18:25:12 2020The RT System itself - Status changed from 'new' to 'open'
Thu May 21 03:50:00 2020REHSACK [...] cpan.org - Correspondence added
On Wed May 20 18:25:11 2020, ETHER wrote:
Show quoted text
> On 2020-05-20 12:48:56, EDAVIS wrote:
> > uniqi is like uniq but compares strings case-insensitively, as fc($a)
> > eq fc($b). The first occurrence of each value is used.
>
> See List::UtilsBy::uniq_by.
When this is good enough, please drop a note.
Thu May 21 03:54:34 2020EDAVIS [...] cpan.org - Correspondence added
Thanks for the pointer. I think uniqi would be a handy shortcut but if you think it's too specialized to deserve its own name, then reject this feature request.
Thu May 21 04:16:59 2020REHSACK [...] cpan.org - Correspondence added
On Thu May 21 03:54:34 2020, EDAVIS wrote:
Show quoted text
> Thanks for the pointer. I think uniqi would be a handy shortcut but
> if you think it's too specialized to deserve its own name, then reject
> this feature request.
It's more or less trivial - just strlower (+i18n, but no-brainer) before proving whether it's in uniq hash or not.
Tue Oct 06 00:27:36 2020REHSACK [...] cpan.org - Correspondence added
When it's a no-brainer, why there is no implementation and no test?
Tue Oct 06 00:27:37 2020REHSACK [...] cpan.org - Status changed from 'open' to 'rejected'