Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://811452]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2017-03-26 13:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (315 votes). Check out past polls.