Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: perl puzzle - cartoon couple registry (beginner, semi-golf)

by Aristotle (Chancellor)
on Jun 13, 2002 at 02:46 UTC ( [id://174096]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #        1         2         3         4         5         6
    #234567890123456789012345678901234567890123456789012345678901234
    {(@c=each%couples)&&printf("%s is married to %s%c",@c,10)&&redo}
    
  2. or download this
    # Update: trickier, same char. count
    {(@c=each%couples)?printf("%s is married to %s%c",@c,10)&redo:1}
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-20 02:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found