in reply to Question about making modules.
- Use module-starter to create the module module-starter --mi --module="MyModule" --author="Anonymous Monk"
- Use Module::Install, on all new modules
- Use Test::More if your going to write tests
- Learn Moose (it would save you from having to write new()
- Don't ever use Exporter on an OO module
- You're better off passing HashRefs than arrays ->new({foo=>bar}) rather than ->new(foo=>bar)
- Don't use indirect object notation 'stupid Wizard nonsense' Wizard->stupid(nonsense)
|