in reply to [RFC] Review of module code and POD
It looks reasonable enough. Some possible improvements:
- Use a configuration file e.g. to store your environment setting as well as database credentials (decouple settings from code)
- Use DBIx::Class - you'll get search/insert and more functionality (almost) for free.
- Consider named parameters for methods with more than two args (makes code more self documenting).
|Replies are listed 'Best First'.|
Re^2: [RFC] Review of module code and POD
by Bod (Curate) on Mar 31, 2021 at 23:09 UTC