Subject: | uniq |
Hello,
the following snippet:
---
#!env perl
use strict;
use diagnostics;
use List::MoreUtils 0.407 qw/uniq/;
use Data::Dumper;
sub doY { "Y" }
print Dumper([uniq(doY)]);
print Dumper([uniq(my @tmp = doY)]);
---
give in output, with version 0.407:
$VAR1 = [
undef
];
$VAR1 = [
'Y'
];