Update: Otherwise, you can still make it shorter:die+map{(Fizz)[$_%3].(Buzz)[$_%5]||$_}1..100
Generally printing to STDERR is not considered equivalent to printing to STDOUT.
Update 2: As Sidhekin pointed out to me, the -l switch makes the newline problems go away.
But under common golfing rules -l does count as +3 strokes. Changing
$_ for
to
$_,$/for
adds two.
In reply to Re^4: Golf Challenge: FizzBuzz
by blazar
in thread Golf Challenge: FizzBuzz
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |