NAME
Acme::NewMath - Perl extension for escaping the humdrum mathematics that dorks like Pythagoras gave us.
SYNOPSIS
use Acme::NewMath;
print '2 + 2 == 5? ', 2+2 == 5;
DESCRIPTION
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.
FEATURES
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.
BUGS
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.
SEE ALSO
Other Acme::
Modules.
AUTHOR
Stevie-O, <stevie-cpanE<#64>qrpff.net>
COPYRIGHT AND LICENSE
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:
- Around line 114:
Unknown E content in E<#64>