A two part article briefly covering ORM in Perl using DBIx::Class modules.
Part 1 Creating the project directory, the database and tests.
Part 2 Generating class schema and implementing functionality to make the tests pass.
To Install
git clone https://github.com/kirklewis/learn-orm-perl-with-dbix.git
cd learn-orm-perl-with-dbix
cpanm -L local --installdeps .Run Tests
The test files are located in the t/ directory.
prove -Ilocal/lib/perl5 -v t/Reproducible Install
To install the exact module versions recorded in cpanfile.snapshot, which is
what CI tests against, use Carton:
carton install
carton exec -- prove -lv tCopyright (c) 2016 - 2026 Kirk Lewis
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.