1 min readMar 28, 2019
What’s even cooler is that with Perl 5.10 or later, you can do almost the same, though using the negation of the mod… i.e.
perl -E 'say "Fizz"x!($_%3)."Buzz"x!($_%5)||$_ for 1..20'
Strangely satisfying to see the two perls being this similar.