Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Toggling between two values

by boo_radley (Parson)
on May 05, 2003 at 23:29 UTC ( [id://255771]=note: print w/replies, xml ) Need Help??


in reply to Toggling between two values

untested, not near perl, but sufficiently bored.
my %annoying; $annoying {"I am"}= "you are"; $annoying {"you are"} = "I am"; $key = "I am"; for (1..10) { print $annoying{$key}," glad "; $key= $annoying{$key}; } print ".";

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-25 05:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found