Acme::Maybe - Take away the pain of decision-making!
Version 0.02
This module lets the programmer offload some of the burden of decision-making onto the computer's, uh, shoulders.
Here's how:
use Acme::Maybe qw/maybe/; maybe { print "this may get executed. or not.\n"; }; # may print the above text... or not.
decide maybe
This function represents the main usable interface. It expects one argument: a code block. It will use decide to decide whether the code block deserves to be executed or not.
decide
The core decision-making capability center. This function actually says "yea" or "nay".
Max Afonov, <maxa at cpan.org>
<maxa at cpan.org>
Please report any bugs or feature requests to maxa at cpan.org, although I don't think there should be any in such a simple module.
maxa at cpan.org
You can find documentation for this module with the perldoc command.
perldoc Acme::Maybe
You can also look for information at:
Search CPAN
http://search.cpan.org/dist/Acme-Maybe
Thanks to my employer, because this module has been developed on company time. Cha-ching!
Copyright 2008 Max Afonov, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Acme::Maybe, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Acme::Maybe
CPAN shell
perl -MCPAN -e shell install Acme::Maybe
For more information on module installation, please visit the detailed CPAN module installation guide.