NAME
Data::Randr - splash number
SYNOPSIS
use Data::Randr;
randr(10); # 9 - 11
randr(10, 20); # 8 - 12
randr(10, 20, 4); # 8 - 12.9999 down to 4 decimal places, ex. 8.6389
DESCRIPTION
Data::Randr gives splashing number for a cache expires.
METHOD
new(%args)
constractor
constract options
rate : int // 10 (require)
splashing rate(1 - 100)
digit : int // 0 (optional)
decimal number
randr($number[, $rate, $digit])
response splashed number
REPOSITORY
Data::Randr is hosted on github: http://github.com/bayashi/Data-Randr
I appreciate any feedback :D
AUTHOR
Dai Okabayashi <bayashi@cpan.org>
LICENSE
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.