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: 44.192.15.251
To prevent spam please submit by clicking the kitten: