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) )

Reply via email to