App-financeta
view release on metacpan or search on metacpan
lib/App/financeta/language.pm view on Meta::CPAN
195196197198199200201202203204205206207208209210211212213214215
}
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.238 second using v1.01-cache-2.11-cpan-e5176c747c2 )