News for hackers. Stuff that matters.
Re:Ask HN: Why do people consider Ruby better than Perl or v... by colomon on Tuesday January 11, 2011 @09:04PM (#2094583)
Or ever-so-slightly lighter Perl 6 version:

    my $x = 'Apple Carrot Banana';
    my @y = $x.words.sort;

    if @y > 2 {
        say "we've got {@y.elems} elements!";
    } else {
        say "insufficient elements. fail.";
    }

There are no comments on this comment yet.