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

Re: Re: (Golf) Kaprekar's Process

by sean (Beadle)
on Jun 17, 2001 at 09:22 UTC ( #89139=note: print w/replies, xml ) Need Help??


in reply to Re: (Golf) Kaprekar's Process
in thread (Golf) Kaprekar's Process

Your map statement is working fine. The problem is that you have assigned a value to "$,", which is the output field separator variable. Its value is printed when you use a comma in a print statement.
$,="bar"; print "foo","baz";
will output:
foobarbaz
--sean

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://89139]
help
Chatterbox?
and the daffodils sway...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2016-12-05 11:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (80 votes). Check out past polls.