Acme-Math-Google
view release on metacpan or search on metacpan
lib/Acme/Math/Google.pm view on Meta::CPAN
$ans =~ s{.*/images/calc_img.gif}{}xmso;
$ans =~ s{.*?<b>}{}xmso;
$ans =~ s{</b>.*}{}xmso;
return $ans if $as_equation;
$ans =~ s{.*=\s+}{}xmso;
return $ans;
}
1;
__END__
# Below is stub documentation for your module. You'd better edit it!
=head1 NAME
Acme::Math::Google - Let Google do the math
=head1 SYNOPSIS
use Acme::Math::Google;
my $amg = Acme::Math::Google->new;
print $amg->calc('e**(i*pi)'); # -1
( run in 0.524 second using v1.01-cache-2.11-cpan-de7293f3b23 )