Acme-oop-ism Part One

This is a very old article. It has been imported from older blogging software, and the formatting, images, etc may have been lost. Some links may be broken. Some of the information may no longer be correct. Opinions expressed in this article may no longer be held.

Ingy gave a talk on Acmeism at YAPC::NA. Acmeism is a simple, yet ambitious idea. Break down the barriers that exist in programming by publishing software modules that work in multiple different languages. (And use smarter tools so that that doesn’t have to be so burdensome.)

I’m writing to tell you about Acme-oop-ism. A somewhat less ambitious idea, but perhaps one that you’ll like anyway.

People who write OO code in Perl tend to fall into one of five categories:

  1. use Moose
  2. use Mouse
  3. use Moo
  4. use some other obscure OO framework
  5. write it all by hand

Acme-oop-ism is about uniting the first three groups and bringing the others in from the cold.

I’m here to tell you about how to write Moose extensions that also work in Mouse and Moo. I’ll show you that it can be done, and show you how to do it.