Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jonasbn (1153)

  reversethis-{gro.napc} {ta} {nbsanoj}
AOL IM: BJonasN (Add Buddy, Send Message)

Perl Programmer located in Copenhagen, Denmark. Active member of Copenhagen Perl Mongers.

Author of:

  • Business::DK::CPR
  • Business::DK::CVR
  • Business::DK::PO
  • Business::OnlinePayment::CashCow
  • Date::Holidays
  • Date::Holidays::Abstract
  • Date::Holidays::Super
  • Date::Pregnancy
  • Games::Bingo
  • Games::Bingo::Bot
  • Games::Bingo::Print
  • Module::Info::File
  • Module::Template::Setup
  • Test::Timer

and maintainer of:

  • Tie::Tools
  • XML::Conf
  • Workflow

Journal of jonasbn (1153)

Saturday May 10, 2003
01:39 PM


[ #12114 ]

So my first module found its way to CPAN.

I have uploaded Games-Bingo-0.01.tgz to CPAN using PAUSE. Well now I just have to sit back and see how the tests go etc. and I can start to look at some of my other projects.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Some issues (Score:2, Informative)

    Some issues:

    * The modules have no abstract (In NAME, one usually puts "Module::Name - Module that does something)
    * Prototypes are used for methods. That's useless, since they're ignored for runtime thingies. Besides that, have a look at Far More Than Everything You've Ever Wanted to Know about Prototypes in Perl.
    * POD is =cut and then immediately continued...
    * Some POD is broken otherwise (if you use multiple angle brackets, you must also use whitespace!)

    And probably more...
    • Thanks!

      I will correct these issues ASAP.

      I know that the prototypes aren't any good during run-time, but I use them when developing. They work quite well when refactoring code, that is why I tend to keep them around.

      Again - thanks for you feedback...
      • Re:Some issues (Score:3, Informative)

        Hmmm, I don't think you understand prototypes then... Have a look at the referenced article [].

        In short, prototypes are evil. Don't use them unless you have no other choice (see: []).


        • Two things jump out of the the article after a quick-read:
          1. From the 'Great Expectations []' section: "Nearly any programmer you encounter will, when asked what function prototypes are for, report the standard text-book answer that function prototypes are mainly used to catch usage errors at compile time in functions called with an unexpected type or number of parameters. This is what programmers are expecting of prototypes, and what Perl does not give them. In some ways, it can't."
          2. From the Summary []: "This do
    • Hmmm what do you mean by:

      POD is =cut and then immediately continued...

      As far as I can see, when
      writing the POD below __END__ it does not makes sense to use =cut

      unless! =cut is used to close a section?
      - do you know if this is this the case?