use strict; use Math::Pari qw(PARI); my $question="67.35 >= 50 && 67.35 < 80"; # Pari doesn't like white space in expressions. $question =~ s/\s+//g; my $out = PARI $question; print $out,"\n";
In reply to Re: using re 'eval' for varibable math
by tall_man
in thread using re 'eval' for varibable math
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |