The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Acme::Maybe - Take away the pain of decision-making!

VERSION

Version 0.02

SYNOPSIS

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.

EXPORT

    decide
    maybe

FUNCTIONS

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".

AUTHOR

Max Afonov, <maxa at cpan.org>

BUGS

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.

SUPPORT

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

    perldoc Acme::Maybe

You can also look for information at:

ACKNOWLEDGEMENTS

Thanks to my employer, because this module has been developed on company time. Cha-ching!

COPYRIGHT & LICENSE

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.