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