RPNS/test.pl

10 lines
127 B
Perl
Raw Normal View History

use Math::RPN;
my $answer=rpn(0.MOD);
if (!defined($answer)){
print "SERVFAIL";
}else{
print "Answer: ". $answer."\n";
}