Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Golf Challenge: FizzBuzz

by BrowserUk (Pope)
on Mar 02, 2007 at 17:07 UTC ( #602906=note: print w/replies, xml ) Need Help??


in reply to Golf Challenge: FizzBuzz

63

sub fizzBuzz { #23456789 123456789 123456789 123456789 123456789 123456789 123 map{$_=$_%15?$_%5?$_%3?$_:'fizz':'buzz':'fizzbuzz',print}1..100 }

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://602906]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2016-09-28 14:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (531 votes). Check out past polls.