Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Friday Golf: All 2-digit combinations

by Chady (Priest)
on Sep 26, 2003 at 13:21 UTC ( #294410=note: print w/ replies, xml ) Need Help??


in reply to Re: Friday Golf: All 2-digit combinations (wrong!)
in thread Friday Golf: All 2-digit combinations

40.
$n='00';/$n/ or$_.=$n while$n++<99;print
123456789 123456789 123456789 123456789

Update: your code still displays some bad entries. see below

010203040506070809111213141516171819222324252627282933343536...etc.
He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.

Chady | http://chady.net/


Comment on Re: Re: Friday Golf: All 2-digit combinations

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2014-08-02 03:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (54 votes), past polls