in reply to standard perl module and BEGIN block.

Before you go too far down the road of a standard module template, please take a look at Module::Starter. It addresses many of the concerns of module templating, and it's extensible.

xoxo,
Andy

  • Comment on Re: standard perl module and BEGIN block.

Replies are listed 'Best First'.
Re^2: standard perl module and BEGIN block.
by xdg (Monsignor) on Aug 17, 2004 at 14:37 UTC

    Shameless self-plug: Given that there are many different individual styles for writing module distributions, please consider ExtUtils::ModuleMaker::TT, which extends ModuleMaker to allow user-defined templates for all the skeleton files of a distribution using the Template Toolkit and a pre-defined configuration file with default settings for ModuleMaker. I wrote it to work out some frustrations with the cumbersome process of creating module distributions with the standard tools and then having to edit all the boilerplate. As always, any feedback would appreciated.

    -xdg

    Code posted by xdg on PerlMonks is public domain. It has no warranties, express or implied. Posted code may not have been tested. Use at your own risk.

      FYI, Module::Starter will handle the TT.

      xoxo,
      Andy