NAME

random - have rand() return integers

VERSION

Version 0.01

SYNOPSIS

use random qw(fixed 6); # cheat on dice

my $six = rand; # 6

use random qw(integer);

my $dice = 1 + rand 6; # one of 1 .. 6

EXPORT

FUNCTIONS

import

unimport

rand when random is in effect it returns int(rand) otherwise CORE::rand

AUTHOR

Joerg Meltzer, <joerg {at} joergmeltzer.de>

BUGS

Please report any bugs or feature requests to bug-random at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=random. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc random

You can also look for information at:

ACKNOWLEDGEMENTS

Thanx goes to Abeltje (http://yapc.tv/2008/ye/lt/lt2-02-abeltje-fixedtime). I learned about pragmas watching your show.

COPYRIGHT & LICENSE

Copyright 2009 Joerg Meltzer, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.