Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print map {
- my $result;
- $result = 'Fizz' if $_ % 3 == 0;
- $result .= 'Buzz' if $_ % 5 == 0;
- $result || $_;
- } ($ARGV[0]..$ARGV[1]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement