minor hate: autoload and universal
I just spend twenty minutes or so on this nonsense.
A number of our objects get decorated by Mixin::ExtraFields::Hive, which lets us say:
It’s a nice convenient way to store arbitrary hierarchical data about stuff.
I was trying to store the “moniker” of the test object being stored:
This kept failing, saying I couldn’t call “SET” on “hive.” What?
Well, UNIVERSAL::moniker was getting in the way. Argh! I hate UNIVERSAL. I will never abuse it outside of Acme again.
Written on April 14, 2008