Re: A Peeve of Great Pettishness

What should this module do, if anything?

What special side effects should it have? Special variables? Special functions?

My thinking is that it should be largely useless, somewhat curious, marginally helpful (but perhaps not helpful enough to justify using it) and occasionally annoying.

Unless someone can give me a better idea...

Perhaps it should be Blovinator::Purple ?? Nah, that's too rational. If I need another color, it only makes perverse sense to do Purple::Blovinator::Green (for example).

But, it really shouldn't be at the top level, should it? It should be subordinated into an existing top-level package, don't you think? Especially since it's value-free.
package Purple::Blovinator; use 5.008003; use strict; use warnings; require Exporter; our @ISA = qw(Exporter); our @EXPORT_OK = qw( toString ); our $VERSION = '1.00'; { sub toString { __PACKAGE__ } sub new { return bless {}, shift } # ... } 1;

Replies are listed 'Best First'.
Re: RFC: Purple::Blovinator
by Old_Gray_Bear (Bishop) on Jan 06, 2007 at 01:05 UTC
    I think the module should be in the Acme name-space, and renamed Acme::Bloviate. Then you can properly subclass it to get Acme::Bloviate::Purple, Acme::Bloviate::Legalese, Acme::Bloviate:Senatorial, etc.

    ----
    I Go Back to Sleep, Now.

    OGB

      Excellent! Acme is the perfect place for this thing. Thanks!
Re: RFC: Purple::Blovinator
by swampyankee (Parson) on Jan 05, 2007 at 22:06 UTC

    Perhaps it should do something akin to converting a nice, readable Perl program into a Purple prose, replacing sensible names like print with something a bit more, well, ornate, say "elegantly scribe, with a beautiful Spencerian hand". Purple::Blovinator would be a code filter, e.g.,

    perl -MPurple::Blovinator -f elegant.pl > ornate.pl

    emc

    At that time [1909] the chief engineer was almost always the chief test pilot as well. That had the fortunate result of eliminating poor engineering early in aviation.

    —Igor Sikorsky, reported in AOPA Pilot magazine February 2003.
      That's a very reasonable suggestion, with a very reasonable function. Therefore it fails my test.

      Just kidding. There is no such test. And I'm sticking to that story.

      Here's the Wikipedia entry on Purple Prose:

      purple prose is used to describe passages, or sometimes entire literary works, written in prose so overly extravagant, ornate or flowery as to break the flow and draw attention to itself.

      I was thinking Blovinator could do that in a more insidious sense, perhaps. But having a faux-practical function like that would be hilarious.