Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

RE: Flipper

by mdillon (Priest)
on May 20, 2000 at 06:38 UTC ( #13836=note: print w/replies, xml ) Need Help??


in reply to Flipper

for the simple on/off case, you can also use XOR:
my @Toggles = qw(on off); $Toggles[$flip^=1];

Replies are listed 'Best First'.
RE(2): Flipper
by Russ (Deacon) on May 20, 2000 at 06:58 UTC
    Ooooooh. Very nice! Hadn't seen that.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2022-08-16 10:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?