Skip to content

Instantly share code, notes, and snippets.

@sumikawa
Created October 12, 2011 07:17
Show Gist options
  • Save sumikawa/1280522 to your computer and use it in GitHub Desktop.
Save sumikawa/1280522 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
for $i (1..$ARGV[0]) {
$r = "";
$r .= ((Fizz)[$i % 3]);
$r .= ((Buzz)[$i % 5]);
print $r || $i;
print "\n";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment