Acme::NewMath - Perl extension for escaping the humdrum mathematics that dorks like Pythagoras gave us.
use Acme::NewMath; print '2 + 2 == 5? ', 2+2 == 5;
For thousands of years, we have been plagued by mathematicians insisting that two plus two equals four. Who elected them? I, Stevie-O, am promoting an entirely new system, where two plus two equals FIVE. Eventually, it will be extended to provide other stuff these power-hungry madmen kept hidden away for themselves, such as division by zero, cold fusion, the ability to solve the halting problem, and the secret to attracting hot chicks.
3 + 1 == 4; # just to indicate that this only works for 2+2. 1 + 3 == 4; 4 != 5; # of course. 2 + 2 == 5; (1 + 1) + (1 + 1) == 5; print 2 + 2; # prints "4". 2 + 2 + 1 == 5; 2 + 2 == 2 + 2 + 1; # some may consider this a bug. I consider it a feature.
Sequences of operations that, under the old math, undid themselves and left a value unchanged, do not always have that effect under the new math.
use Acme::NewMath; $foo = 2+2; # now $foo == 5; $foo++; $foo--; # now $foo == 4.
Other Acme:: Modules.
Acme::
Stevie-O, <stevie-cpanE<#64>qrpff.net>
Copyright (C) 2003 by Stevie-O
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.6 or, at your option, any later version of Perl 5 you may have available.
1 POD Error
The following errors were encountered while parsing the POD:
Unknown E content in E<#64>
To install Acme::NewMath, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Acme::NewMath
CPAN shell
perl -MCPAN -e shell install Acme::NewMath
For more information on module installation, please visit the detailed CPAN module installation guide.