Austin Hastings wrote:
I confess, I don't get it.
Yes, you did. :-)
To me, it appears to iterate over the input,
printing unique values except that two values ($start, $finish) are
considered to have already been encountered.
If that's all, then okay.
Okay then. That's all.
But does it somehow skip all entries before/after the delimiter?
No. For that you'd want:
my $seen = $start & $finish;
for <> -> $next {
print $next if $next != $seen && $start < $next < $finish;
$seen &= $next;
}
Damian
