in reply to Re^2: iterating through array and saving matches to new array
in thread iterating through array and saving matches to new array
Wouldn't the code be more readable/maintainable/etc with List::Util::uniq():
my @newb = uniq grep $_ > 850, @b, @c, @d;
Results are the same per Test::More::is_deeply(). (In older Perls, see List::MoreUtils::uniq.)
Give a man a fish: <%-{-{-{-<
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: iterating through array and saving matches to new array
by Marshall (Canon) on Apr 19, 2018 at 23:05 UTC | |
by AnomalousMonk (Archbishop) on Apr 20, 2018 at 01:29 UTC | |
by Marshall (Canon) on Apr 20, 2018 at 02:56 UTC | |
by AnomalousMonk (Archbishop) on Apr 21, 2018 at 20:16 UTC | |
by Marshall (Canon) on Apr 23, 2018 at 20:40 UTC | |
|