Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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: (15)
As of 2015-07-31 21:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (282 votes), past polls