]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Modules/Math.pl
md5
[infobot.git] / src / Modules / Math.pl
index f84fc3d5ac474e7df9b184b799be7a560a5bd4c1..b91f8fe64ff7d1f5bc8623b271cf5cfd8183dc2b 100644 (file)
@@ -80,7 +80,6 @@ sub perlMath {
     for ($locMsg) {
        s/\bpi\b/3.14159265/g;
        s/ to the / ** /g;
-       s/\^/ ** /g;
        s/\btimes\b/\*/g;
        s/\bdiv(ided by)? /\/ /g;
        s/\bover /\/ /g;
@@ -119,7 +118,7 @@ sub perlMath {
            }
        } else {
            if (defined $locMsg) {
-               &DEBUG("math: locMsg => '$locMsg'... FIXME");
+               &FIXME("math: locMsg => '$locMsg'...");
            } else {
                &status("math: could not really compute.");
                $locMsg = "";