Skip Menu |
 

This queue is for tickets about the List-MoreUtils CPAN distribution.

Report information
The Basics
Id: 50208
Status: rejected
Priority: 0/
Queue: List-MoreUtils

People
Owner: Nobody in particular
Requestors: EDAVIS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.25_02
Fixed in: (no value)



Subject: wish: uniq using smart matching
Download (untitled) / with headers
text/plain 293b
A variant of 'uniq' which compares using perl's smart-match (~~) operator. For example my @a = ([], [], 'a', 'a', 'b'); my @old = uniq @a; # ([], [], 'a', 'b') my @new = uniq_smart @a; # ([], 'a', 'b') # because [] ~~ []


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.