On Thu, Apr 07, 2005 at 09:21:19AM +0100, Steve Hay wrote: > Patrick Galbraith wrote: > > >As well, he said to avoid > >strcasencmp. I will take a look through the perl API to see if there is > >a similar function. > > > I couldn't see one at a quick glance. There are strnEQ and strnNE, but > not case-insensitive variants?
I think this is what you're after: Perl_ibcmp(pTHX_ const char *s1, const char *s2, register I32 len) Tim.