2 ms·
The cycle method is really elegant in Perl, of all languages: use feature say; say <{Fizz,}> . <{Buzz,,,}> || $_ for 0..100;
by hashkitten 4y ago
The cycle method is really elegant in Perl, of all languages:
use feature say;
say <{Fizz,}> . <{Buzz,,,}> || $_ for 0..100;
- callalex 4y agoIt’s certainly concise, but I wouldn’t consider that to be elegant.