Skip to main content

Which Language? · #67

Which language is this?

Difficulty 3/3

How to play

Read the code snippet and pick which of the four listed languages it’s written in. The snippet is deliberately unhighlighted — the syntax is the only clue. Press 1–4 or click to answer.

my @nums = (1, 2, 3);
foreach my $n (@nums) {
    print "$n\n";
}

Loading your progress...

Press 1 through 4, or tap a numbered choice, to answer. Back to hub