Skip to content

Commit

Permalink
Merge pull request #181 from mknos/expr-gteq
Browse files Browse the repository at this point in the history
expr: broken >= operator
  • Loading branch information
briandfoy committed Jul 5, 2023
2 parents ab0b908 + bcd7f21 commit b9a578d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/expr
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ my @global_ops = (
"<=" => sub { $_[0] <= $_[1] || 0; },
"=" => sub { $_[0] == $_[1] || 0; },
"==" => sub { $_[0] == $_[1] || 0; },
">=" => sub { $_[0] <= $_[1] || 0; },
">=" => sub { $_[0] >= $_[1] || 0; },
"!=" => sub { $_[0] != $_[1] || 0; },
"<" => sub { $_[0] < $_[1] || 0; },
},
Expand Down

0 comments on commit b9a578d

Please sign in to comment.