Case insensitive string comparison operators: eqi, nei, lti, gti, lei, gei
Nobody has claimed this yet.
- Dominant language
- Perl
- Stars
- 2.3k
- Forks
- 646
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 49
Description
It would be useful to have infix operators for case-insensitive string comparison.
$foo eqi $bar
would be equivalent to
fc($foo) eq fc($bar)
and so on.
Yes, it's just syntactic sugar really, but Perl hardly takes an austere approach to these things. In my view a case-insensitive string comparison falls under "easy things should be easy".
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing Perl's existing infix comparison operators and the issue's proposed eqi, nei, lti, gti, lei, and gei semantics, including the fc-based equivalence. Locate the parser, operator implementation, and relevant tests, then define coverage for parsing and case-insensitive comparisons; done means the operators work consistently and are tested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- perl
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100