In this case, the $self object is implemented as a link to the blessed array, and not a much more common method of using a blissful hash link. The syntax $foo->[42] refers to a single element from an array reference. UTF8 is supposedly a constant that returns a numeric index into an array.
Sometimes you see this idiom when people are convinced (as a rule, incorrectly) that a hash search on the attributes of an object leads to significant overhead and tries to optimize their code prematurely.
source share