Created
August 24, 2022 16:05
-
-
Save stigtsp/7d95e63be3a5868c03394c7d2fce798f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print join "\n", map { ($_ % 3 == 0 && "fizz") . ($_ % 5 == 0 && "buzz") || $_ } 1..100' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment