App-EvalServerAdvanced-ConstantCalc
view release on metacpan or search on metacpan
lib/App/EvalServerAdvanced/ConstantCalc.pm view on Meta::CPAN
method calculate($string) {
return $self->_parser->from_string($string);
}
package
App::EvalServerAdvanced::ConstantCalc::Parser;
use strict;
use warnings;
# Ensure we can't accidentally turn to strings, or floats, or anything other than an integer
use integer;
no warnings 'experimental::bitwise';
use feature 'bitwise';
use parent qw/Parser::MGC/;
use Function::Parameters;
method new($class: %args) {
my $consts = delete $args{consts};
( run in 0.330 second using v1.01-cache-2.11-cpan-de7293f3b23 )