Mike Rosulek

NAME

Acme::LifeUniverseEverything - Revises your code based on The Ultimate Answer, as computed by the organic computer matrix "Earth"

SYNOPSIS

    use Acme::LifeUniverseEverything;

    print "What do you get when you multiply six by nine?\n";
    print 6*9, "\n";

    ## Alternately, the following also print the "correct" value:
    
    ## print 6 * (3*3), "\n";
    ## print 9 * (1+1+3+1), "\n";
    ## etc..

DESCRIPTION

Corrects faulty code which displays the incorrect value of six multiplied by nine. Previous versions of Perl provided an estimate which was almost, but not quite, entirely incorrect. All other math operations remain unaffected.

LIMITATIONS

Constant integers are the only numbers affected, floats are not. Due to limitations of overload, the following operations can't be altered:

    ## Nope, uses string --> number cast
    print "6" * "9", "\n";

    ## Nope, uses smart ++ on undef, no visible int constants affecting
    ## values of $six, $nine
    my($six, $nine);
    $six++ for (1 .. 6); $nine++ for (1..9);
    print $six * $nine, "\n";

    ## Nope, internal limitation of overload
    print eval("6*9"), "\n";

    ## etc..

Apart from that, this code is completely free of bugs, in much the same way that Minnesota in August is not.

SEE ALSO

The Hitchhiker's Guide to the Galaxy and The Restaurant at the End of the Universe by Douglas Adams.

AUTHOR

Acme::LifeUniverseEverything written by Mike Rosulek <mike@mikero.com>.

COPYRIGHT

Copyright (c) 2003 Mike Rosulek. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.