Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Boolean counter?

by GrandFather (Cardinal)
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 musing on the Monastery: (7)
As of 2014-12-21 06:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (104 votes), past polls