Anarchy, in the libertarian extremist sense which I am actually advocating for realzies, isn't "absence of functioning government". What I mean by anarchy is better defined as "institutionnalized repression of coercion". That is quite a different beast, and Somalia doesn't qualify quite. However one thing Somalia does qualify for, is that it is (was) less of an offender than many of its neighboring countries, and that aspect translated into "surprising" progress (rising literacy and college attendance, huge drop in contagious diseases, formation of xeer-driven local courts, etc.) in the 00s, as observed by the World Bank analysts who went there at the time.