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 (Parson) on Mar 31, 2021 at 23:09 UTC | |
by Arunbear (Prior) on Apr 01, 2021 at 14:17 UTC | |
by Bod (Parson) on Apr 02, 2021 at 22:09 UTC | |
by hippo (Bishop) on Apr 03, 2021 at 10:37 UTC | |
by Bod (Parson) on Apr 04, 2021 at 11:33 UTC |
In Section
Meditations