James A. Duncan


Pixie::FinalMethods - 'fixed' methods that Pixie uses


  use Pixie::FinalMethods;

  $hash{$some_object->PIXIE::address} = ...;


Pixie has some helper methods that it makes sense to use in an object oriented fashion any object. But these same methods should never be overridden. One option is just to define these methods in UNIVERSAL and to rely on people to be polite. But we are a little more defensive. We push our final methods into the PIXIE namespace. Perl allows you to make a method call to a fully specified method name, so we do that. And it works.

This means that any methods we shove into UNIVERSAL are there to be overridden Pixie::Complicity, though some are more overrideable than others.