Is there someone out there who uses and loves Spiffy and would like to sing its praises?

I'm working on a project that has quite a few classes already and is likely to grow significantly. I have been using Class::Accessor to generate my accessor methods. I selected it initially because it's simple; as were my needs. The only thing I dislike about Class::Accessor is that the default constructor requires arguments to be passed in as a hashref rather than the more usual (and slightly more efficient) list of key => value pairs.

Anyway, I'm planning to start using mixins. I've done this before simply by using multiple inheritance (MI). The Spiffy docs say:

if you've done much MI you've probably run into weird problems and headaches

I can't say I've suffered that yet, but if a) I'm likely to and b) Spiffy can help, then it might be worth a look.

The first thing that struck me as odd about Spiffy was the talk of exporting. I'd generally considered OO modules and exporting to be mutually exclusive. That may be a narrow minded view so feel free to expand my mind:-)

It's now occurred to me that I might want to override print in one of my classes. Then I realised that the override would not be inherited by a derived class and suddenly I wondered if exporting might not be such a bad idea after all.

Has Spiffy changed your life? Do tell.

PS: If you like Spiffy, you might want to rate it - no one has yet.


In reply to Wanted: Spiffy evangelist by grantm

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.