50% percent randomness

Needed a quick random bit in Perl.

my $rand = int(rand() * 2);


Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 3.12.34.192
To prevent spam please submit by clicking the kitten: