Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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.


Comment on Re: Golf Challenge: FizzBuzz
Download Code

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 studying the Monastery: (13)
As of 2014-10-30 16:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (208 votes), past polls