in reply to Re: Golf Challenge: FizzBuzz
in thread Golf Challenge: FizzBuzz
Ooh, neat! You've got a few unnecessary parentheses, though. That should be 46:
#23456789 123456789 123456789 123456789 123456 print+(Fizz)[$_%3].(Buzz)[$_%5]||$_ for 1..100
... which I expect will be the winning entry. Not much cruft there.
print "Just another Perl ${\(trickster and hacker)},"
The Sidhekin proves Sidhe did it!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Golf Challenge: FizzBuzz
by liverpole (Monsignor) on Mar 02, 2007 at 20:15 UTC | |
by merlyn (Sage) on Mar 02, 2007 at 20:18 UTC | |
by tye (Sage) on Mar 02, 2007 at 20:39 UTC | |
by blazar (Canon) on Mar 03, 2007 at 15:32 UTC | |
by vrk (Chaplain) on Mar 02, 2007 at 20:37 UTC |