Sub::Frequency - Run code blocks according to a given probability This Perl module provides a small DSL to deal with an event's frequency, or likelyness of happening. Potential aplications include games, pseudo-random events and anything that may or may not run with a given probability. INSTALLATION To install this module, run the following commands: perl Makefile.PL make make test make install SUPPORT AND DOCUMENTATION After installing, you can find documentation for this module with the perldoc command. perldoc Frequency You can also look for information at: RT, CPAN's request tracker http://rt.cpan.org/NoAuth/Bugs.html?Dist=Frequency AnnoCPAN, Annotated CPAN documentation http://annocpan.org/dist/Frequency CPAN Ratings http://cpanratings.perl.org/d/Frequency Search CPAN http://search.cpan.org/dist/Frequency/ LICENSE AND COPYRIGHT Copyright (C) 2010 Breno G. de Oliveira, Tiago Peczenyj This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License. See http://dev.perl.org/licenses/ for more information.