Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Poor Man's Abstain

by sauoq (Abbot)
on Aug 12, 2003 at 02:22 UTC ( #283084=snippet: print w/replies, xml ) Need Help??
Description:

Choose how to vote on those nodes where you really just want to see the node rep...

Make it an alias for ease of use.

Update: Added alternate versions. Choose the one that matches your style!



perl -e 'die rand(2)%2?"--":"++",$/'


perl -e 'die qw(- +)[rand(2)]x2,$/'


perl -e 'die rand>.5?"--":"++",$/'
Replies are listed 'Best First'.
Re: Poor Man's Abstain
by jmcnamara (Monsignor) on Aug 12, 2003 at 08:25 UTC

    Another (pseudo-pseudo-random) way:
    perl -le 'print+time%2?"--":"++"'
    Or if you weren't doing all of your voting at the same time:
    perl -le 'print$$%2?"--":"++"'
    Anyone who has never voted on a node just to see its rep feel free to ignore this one as well, or use the following instead:
    perl -le 'print pack h2h2,b2,b2'

    --
    John.

Re: Poor Man's Abstain
by DrHyde (Prior) on Aug 12, 2003 at 08:27 UTC
    Please don't!

      Ok, I'll heed that advice this one time. I downvoted you deterministically.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2020-11-27 08:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?