Perl6 RFC Librarian wrote: > =head1 IMPLEMENTATION > > Probably has to be added to perl internals... > > I wonder what will happen with overloads though - is eq/i a new operator > to overload or is the case-insensitivity somehow magically done by the > Perl interpreter even though eq was overloaded? This probably could lead > to problems... if we had a insensitive-string type, which is the appropriate thing to store case-insensitive data in, overloading C<cmp> to work on it would IMO be a more general solution (assuming of course that $a eq $b expands to !($a cmp $b) )
- Re: RFC 143 (v1) Case ignoring eq and cmp operators Jarkko Hietaniemi
- Re: RFC 143 (v1) Case ignoring eq and cmp opera... Glenn Linderman
- infix functions David L. Nicol
- Re: RFC 143 (v1) Case ignoring eq and cmp operators Markus Peter
- Re: RFC 143 (v1) Case ignoring eq and cmp opera... Tom Christiansen
- Re: RFC 143 (v1) Case ignoring eq and cmp opera... John Porter
- Re: RFC 143 (v1) Case ignoring eq and cmp operators Bart Lateur
- Re: RFC 143 (v1) Case ignoring eq and cmp operators Jarkko Hietaniemi
- Re: RFC 143 (v1) Case ignoring eq and cmp operators John Porter
- Re: RFC 143 (v1) Case ignoring eq and cmp operators David L. Nicol
- Re: RFC 143 (v1) Case ignoring eq and cmp operators Steve Simmons