in reply to Correct namespace of module I wrote

Is it a mailer that carps? (Mailer::Carp) Or is it a carper that mails? (Carp::Mailer)

If it's primary objective is to be a mailer, and that mailer is different from other mailers in that it carps (complains) if there's trouble, I would think Mailer::Carp is more appropriate.

If it's a carper (complainer) that mails its complaint, it would be more appropriately named Carp::Mailer.


Dave

  • Comment on Re: Correct namespace of module I wrote

Replies are listed 'Best First'.
Re^2: Correct namespace of module I wrote
by izut (Chaplain) on Mar 01, 2006 at 02:24 UTC

    It is a module will send an email to someone when it complains about a die and warn. It will send an email containing complete stack when using Carp. I think it really should be named Carp::Mailer, then.

    Thank you all.

    Igor 'izut' Sutton
    your code, your rules.