App-financeta

 view release on metacpan or  search on metacpan

lib/App/financeta/language.pm  view on Meta::CPAN

    }
    return { trigger => lc $got };
}

sub got_compare_op {
    my ($self, $got) = @_;
    $got = '==' if ($got =~ /is|equals/i);
    return { compare => $got};
}

sub got_not_op {
    my ($self, $got) = @_;
    $got = lc $got;
    $got = '!' if $got eq 'not';
    return { complement => $got };
}

sub got_logic_op {
    my ($self, $got) = @_;
    $got = lc $got;
    $got = '&' if $got eq 'and';



( run in 0.576 second using v1.01-cache-2.11-cpan-cc502c75498 )