d2alphame
Re:Why does OpenBSD still include Perl in its base installation?
on Monday June 01, 2020 @07:53PM (#23385529)
How is that version of FizzBuzz shooting oneself in the foot?
Re:Why does OpenBSD still include Perl in its base installation?
on Saturday May 30, 2020 @07:35PM (#23365815)
I would have written that Perl code as
for (1..100) {
if (not $_ % 15) { say 'FizzBuzz' }
elsif (not $_ % 3) { say 'Fizz' }
elsif (not $_ % 5) { say 'Buzz' }
else { say }
}
Just saying