Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Boolean counter?

by GrandFather (Sage)
on Dec 07, 2009 at 08:58 UTC ( #811452=note: print w/ replies, xml ) Need Help??


in reply to Boolean counter?

Of course if you want obscure you can use $|--. Consider:

print $|-- for 1 .. 4;

Prints:

1010

Although I wouldn't recommend it in a context where you wish to win friends and influence people among the bossing classes.


True laziness is hard work


Comment on Re: Boolean counter?
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2015-09-02 19:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (88 votes), past polls